Add help -h flag.
This commit is contained in:
		
							parent
							
								
									a8528fcff1
								
							
						
					
					
						commit
						b574927ebd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ sort=$2
 | 
			
		|||
number=$3
 | 
			
		||||
top_time=$4
 | 
			
		||||
 | 
			
		||||
if [ -z $subreddit ]; then
 | 
			
		||||
if [ "$1" == "-h" ] || [ -z $subreddit ]; then
 | 
			
		||||
    usage
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue