perf: run help automatically as needed
This commit is contained in:
		
							parent
							
								
									7b87c246c3
								
							
						
					
					
						commit
						a86f13a1e5
					
				| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user