cmd/stepd: Remove periods in help text
This commit is contained in:
		
							parent
							
								
									32d10ef7c6
								
							
						
					
					
						commit
						d24cf1cdc1
					
				@ -25,32 +25,32 @@ 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)
 | 
			
		||||
	flagLogDirectory := cli.NewInputFlag (
 | 
			
		||||
		'l', "log-directory",
 | 
			
		||||
		"Write logs to the specified directory.",
 | 
			
		||||
		"Write logs to the specified directory",
 | 
			
		||||
		"", cli.ValString)
 | 
			
		||||
	flagHTTPAddress := cli.NewInputFlag (
 | 
			
		||||
		'h', "http-address",
 | 
			
		||||
		"The address to host the HTTP server on.",
 | 
			
		||||
		"The address to host the HTTP server on",
 | 
			
		||||
		":8080", cli.ValString)
 | 
			
		||||
	flagHTTPErrorDocument := cli.NewInputFlag (
 | 
			
		||||
		0, "http-error-document",
 | 
			
		||||
		"The document to use for displaying errors over http.",
 | 
			
		||||
		"The document to use for displaying errors over http",
 | 
			
		||||
		"", cli.ValString)
 | 
			
		||||
	flagHTTPDirectoryDocument := cli.NewInputFlag (
 | 
			
		||||
		0, "http-directory-document",
 | 
			
		||||
		"The document to use for displaying directory listings over http.",
 | 
			
		||||
		"The document to use for displaying directory listings over http",
 | 
			
		||||
		"", cli.ValString)
 | 
			
		||||
	flagDirectories := cli.NewFlag (
 | 
			
		||||
		'd', "directories",
 | 
			
		||||
		"Serve the contents of directories.")
 | 
			
		||||
		"Serve the contents of directories")
 | 
			
		||||
	flagUnsafePlugins := cli.NewFlag (
 | 
			
		||||
		0, "unsafe-plugins",
 | 
			
		||||
		"Load plugins not owned by the root user.")
 | 
			
		||||
		"Load plugins not owned by the root user")
 | 
			
		||||
	cmd := cli.New (
 | 
			
		||||
		"Run an HTTP server that automaticaly executes STEP files.",
 | 
			
		||||
		"Run an HTTP server that automaticaly executes STEP files",
 | 
			
		||||
		flagPidFile,
 | 
			
		||||
		flagLogDirectory,
 | 
			
		||||
		flagHTTPAddress,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user