Better help text.

This commit is contained in:
Horea Christian 2023-06-10 20:08:39 -04:00
parent 634b53e80e
commit aecfd49e84
2 changed files with 3 additions and 2 deletions

View file

@ -29,7 +29,7 @@ USAGE="Usage:\n\
-e: an additional excludes directory (one dir one -e, donot use it with *).\n\
-l: excludes lost+found directory.\n\
-q: activate quiet mode (no confirmation).\n\
-h: display help message."
-h: display this help message."
# reads options:
while getopts ":e:bcelqh" flag

View file

@ -57,7 +57,7 @@ USAGE="Usage:\n\
-t: makes tarball of system located at the <target-mountpoint>.\n\
-e: an additional excludes directory (one dir one -e, do not use it with *).\n\
-i: an additional target to include. This has higher precedence than -e, -t, and -s.\n\
-h: displays help message."
-h: display this help message."
# reads options:
while getopts ":t:C:e:i:skqcblh" flag
@ -255,6 +255,7 @@ TAR_OPTIONS=(
--ignore-failed-read
"--xattrs-include=*.*"
--numeric-owner
--checkpoint=.500
"--use-compress-prog=${COMP_OPTIONS[*]}"
)