blob: 0c8d8526d73fa2815361ac26c93da6e6e208c538 [file] [log] [blame]
Gunnar Millse8221902017-02-03 15:59:06 -06001#!/bin/sh
2
3help=$'Generate SquashFS image Script
4
5Generates a SquashFS image from the PNOR image
6
7usage: generate-squashfs [OPTION]
8
9Options:
10 -h, --help Display this help text and exit.
11'
12
13while [[ $# -gt 0 ]]; do
14 key="$1"
15 case $key in
16 -h|--help)
17 echo "$help"
18 exit
19 ;;
20 *)
21 echo "Unknown option $1. Display available options with -h or --help"
22 exit
23 ;;
24 esac
25done