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