Allow --help to display help
This commit is contained in:
parent
a6b5c8a109
commit
b2f17b2abd
1 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ LJ_COMPRESS=0
|
||||||
|
|
||||||
# Script details.
|
# Script details.
|
||||||
LJ_NAME="${0##*/}"
|
LJ_NAME="${0##*/}"
|
||||||
LJ_VERSION="0.1.0"
|
LJ_VERSION="0.1.1"
|
||||||
|
|
||||||
# trap signals.
|
# trap signals.
|
||||||
trap 'sigchld_handler' SIGCHLD
|
trap 'sigchld_handler' SIGCHLD
|
||||||
|
|
@ -219,7 +219,7 @@ while :; do
|
||||||
shift
|
shift
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
-h)
|
-h|-help|--help)
|
||||||
# Show the help screen and exit.
|
# Show the help screen and exit.
|
||||||
display_help
|
display_help
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue