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
|
// 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)
|
||||||
flagAddress := cli.NewInputFlag (
|
flagAddress := cli.NewInputFlag (
|
||||||
'a', "address",
|
'a', "address",
|
||||||
"The address to host the server on",
|
"The address to host the server on.",
|
||||||
":8080", cli.ValString)
|
":8080", cli.ValString)
|
||||||
// TODO have in conf, override here
|
// TODO have in conf, override here
|
||||||
flagErrorDocument := cli.NewInputFlag (
|
flagErrorDocument := cli.NewInputFlag (
|
||||||
0, "error-document",
|
0, "error-document",
|
||||||
"The document to use for displaying errors",
|
"The document to use for displaying errors.",
|
||||||
"", cli.ValString)
|
"", cli.ValString)
|
||||||
// TODO have in conf, override here
|
// TODO have in conf, override here
|
||||||
flagDirectories := cli.NewFlag (
|
flagDirectories := cli.NewFlag (
|
||||||
'd', "directories",
|
'd', "directories",
|
||||||
"Serve the contents of directories")
|
"Serve the contents of directories.")
|
||||||
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,
|
||||||
flagAddress,
|
flagAddress,
|
||||||
flagErrorDocument,
|
flagErrorDocument,
|
||||||
|
Loading…
Reference in New Issue
Block a user