handle specific help anywhere

This commit is contained in:
George Danchev
2011-07-18 17:22:59 +00:00
parent 608b85b271
commit 2df323bca1
7 changed files with 54 additions and 6 deletions

View File

@ -8,7 +8,7 @@
print_specific_help() {
# Print own help text
echo "Test specific options:"
echo "Specific options:"
echo " --dev path Suppress dialog and use path as drive address."
echo "This test insists in getting a path to xorriso by option -x."
echo
@ -20,7 +20,7 @@ if test -e "$getopts_inc"
then
. "$getopts_inc"
if test "$RELENG_PRINTED_HELP" = 1
if test "$SPECIFIC_HELP" = 1
then
print_specific_help
exit 0