perf: run help automatically as needed
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user