cmd/stepd: Add periods in the help text

This commit is contained in:
Sasha Koshka 2024-12-08 20:05:04 -05:00
parent b6cd237ed3
commit e79417ec9d

View File

@ -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,