perf: run help automatically as needed

This commit is contained in:
Asif Bacchus 2021-05-15 08:58:39 -06:00
parent 7b87c246c3
commit a86f13a1e5

View File

@ -129,7 +129,7 @@ fi
# has a parameter been passed to this script?
if [ -z "$1" ]; then
consoleError 1 "No operation requested. Please run this script with '--help' for valid parameters."
scriptHelp
fi
# process startup parameters
@ -162,7 +162,6 @@ while [ $# -gt 0 ]; do
-h|-\?|--help)
# display help
scriptHelp
exit 0
;;
-i|--info)
# show archive information