cmd/stepd: Add periods in the help text
This commit is contained in:
		
							parent
							
								
									b6cd237ed3
								
							
						
					
					
						commit
						e79417ec9d
					
				@ -19,23 +19,23 @@ func main () {
 | 
			
		||||
	// parse command line arguments
 | 
			
		||||
	flagPidFile := cli.NewInputFlag (
 | 
			
		||||
		'p', "pid-file",
 | 
			
		||||
		"Write the PID to the specified file",
 | 
			
		||||
		"Write the PID to the specified file.",
 | 
			
		||||
		"", cli.ValString)
 | 
			
		||||
	flagAddress := cli.NewInputFlag (
 | 
			
		||||
		'a', "address",
 | 
			
		||||
		"The address to host the server on",
 | 
			
		||||
		"The address to host the server on.",
 | 
			
		||||
		":8080", cli.ValString)
 | 
			
		||||
	// TODO have in conf, override here
 | 
			
		||||
	flagErrorDocument := cli.NewInputFlag (
 | 
			
		||||
		0, "error-document",
 | 
			
		||||
		"The document to use for displaying errors",
 | 
			
		||||
		"The document to use for displaying errors.",
 | 
			
		||||
		"", cli.ValString)
 | 
			
		||||
	// TODO have in conf, override here
 | 
			
		||||
	flagDirectories := cli.NewFlag (
 | 
			
		||||
		'd', "directories",
 | 
			
		||||
		"Serve the contents of directories")
 | 
			
		||||
		"Serve the contents of directories.")
 | 
			
		||||
	cmd := cli.New (
 | 
			
		||||
		"Run an HTTP server that automaticaly executes STEP files",
 | 
			
		||||
		"Run an HTTP server that automaticaly executes STEP files.",
 | 
			
		||||
		flagPidFile,
 | 
			
		||||
		flagAddress,
 | 
			
		||||
		flagErrorDocument,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user