cmd/stepd: Remove periods in help text

This commit is contained in:
Sasha Koshka 2024-12-11 01:04:51 -05:00
parent 32d10ef7c6
commit d24cf1cdc1

View File

@ -25,32 +25,32 @@ func main () {
// parse command line arguments // parse command line arguments
flagPidFile := cli.NewInputFlag ( flagPidFile := cli.NewInputFlag (
'p', "pid-file", 'p', "pid-file",
"Write the PID to the specified file.", "Write the PID to the specified file",
"", cli.ValString) "", cli.ValString)
flagLogDirectory := cli.NewInputFlag ( flagLogDirectory := cli.NewInputFlag (
'l', "log-directory", 'l', "log-directory",
"Write logs to the specified directory.", "Write logs to the specified directory",
"", cli.ValString) "", cli.ValString)
flagHTTPAddress := cli.NewInputFlag ( flagHTTPAddress := cli.NewInputFlag (
'h', "http-address", 'h', "http-address",
"The address to host the HTTP server on.", "The address to host the HTTP server on",
":8080", cli.ValString) ":8080", cli.ValString)
flagHTTPErrorDocument := cli.NewInputFlag ( flagHTTPErrorDocument := cli.NewInputFlag (
0, "http-error-document", 0, "http-error-document",
"The document to use for displaying errors over http.", "The document to use for displaying errors over http",
"", cli.ValString) "", cli.ValString)
flagHTTPDirectoryDocument := cli.NewInputFlag ( flagHTTPDirectoryDocument := cli.NewInputFlag (
0, "http-directory-document", 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) "", cli.ValString)
flagDirectories := cli.NewFlag ( flagDirectories := cli.NewFlag (
'd', "directories", 'd', "directories",
"Serve the contents of directories.") "Serve the contents of directories")
flagUnsafePlugins := cli.NewFlag ( flagUnsafePlugins := cli.NewFlag (
0, "unsafe-plugins", 0, "unsafe-plugins",
"Load plugins not owned by the root user.") "Load plugins not owned by the root user")
cmd := cli.New ( cmd := cli.New (
"Run an HTTP server that automaticaly executes STEP files.", "Run an HTTP server that automaticaly executes STEP files",
flagPidFile, flagPidFile,
flagLogDirectory, flagLogDirectory,
flagHTTPAddress, flagHTTPAddress,