mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-21 22:25:35 -05:00
Make options consistent
This commit is contained in:
parent
4bdf2a8df5
commit
3004a76ff2
1 changed files with 3 additions and 3 deletions
|
@ -10,14 +10,14 @@ fi
|
|||
#set flag variables to null
|
||||
EXCLUDE_BOOT=0
|
||||
EXCLUDE_CONNMAN=0
|
||||
EXCLUDE_LOST=1
|
||||
EXCLUDE_LOST=0
|
||||
QUIET=0
|
||||
USAGE="usage:\n\
|
||||
`basename $0` [-q -c -b] [-s || -t <target-mountpoint>] <archive-filename> [custom-tar-options]\n\
|
||||
-q: activates quiet mode (no confirmation).\n\
|
||||
-c: excludes connman network lists.\n\
|
||||
-b: excludes boot directory.\n\
|
||||
-l: includes lost+found directory.\n\
|
||||
-l: excludes lost+found directory.\n\
|
||||
-s: makes tarball of current system.\n\
|
||||
-t: makes tarball of system located at the <target-mountpoint>.\n\
|
||||
-h: displays help message."
|
||||
|
@ -41,7 +41,7 @@ while getopts ':t:sqcblh' flag; do
|
|||
EXCLUDE_BOOT=1
|
||||
;;
|
||||
l)
|
||||
EXCLUDE_LOST=0
|
||||
EXCLUDE_LOST=1
|
||||
;;
|
||||
h)
|
||||
echo -e "$USAGE"
|
||||
|
|
Loading…
Reference in a new issue