Refine help text
This commit is contained in:
		
							parent
							
								
									96d91a9aeb
								
							
						
					
					
						commit
						59865dd309
					
				@ -24,16 +24,17 @@ THREADS=4
 | 
				
			|||||||
# PRINT HELP / USAGE TEXT
 | 
					# PRINT HELP / USAGE TEXT
 | 
				
			||||||
usage() {
 | 
					usage() {
 | 
				
			||||||
    printf '%s\n' \
 | 
					    printf '%s\n' \
 | 
				
			||||||
'Usage: mkpicindex [option] > outfile.html
 | 
					'Usage: mkpicindex [arguments] > file.html
 | 
				
			||||||
    Options:
 | 
					
 | 
				
			||||||
        -t "My Gallery"  - Title
 | 
					Arguments:
 | 
				
			||||||
        -w 850           - Width
 | 
					  -t "My Gallery" Gallery title
 | 
				
			||||||
        -h 180           - Row height
 | 
					  -w 850          Gallery main area width
 | 
				
			||||||
        -q 83            - Thumbnail quality
 | 
					  -h 180          Row height (thumbnail size)
 | 
				
			||||||
        -b 6             - Thumbnail border
 | 
					  -q 83           Thumbnail quality
 | 
				
			||||||
        -p 8             - Max convert processes
 | 
					  -b 6            Thumbnail border (padding)
 | 
				
			||||||
        -d               - Debug mode
 | 
					  -p 8            Max. parallel conversion processes
 | 
				
			||||||
        -h               - This help
 | 
					  -d              Enable debug mode (verbose output)
 | 
				
			||||||
 | 
					  -h              Usage (this text)
 | 
				
			||||||
'
 | 
					'
 | 
				
			||||||
    exit 2
 | 
					    exit 2
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user