Skip to content

Commit 8112cbc

Browse files
authoredFeb 25, 2022
update help for serve command arguments (hashicorp#807)
1 parent 7c44da6 commit 8112cbc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

Diff for: ‎internal/cmd/serve_command.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ func (c *ServeCommand) flags() *flag.FlagSet {
4141

4242
fs.IntVar(&c.port, "port", 0, "port number to listen on (turns server into TCP mode)")
4343
fs.StringVar(&c.logFilePath, "log-file", "", "path to a file to log into with support "+
44-
"for variables (e.g. Timestamp, Pid, Ppid) via Go template syntax {{.VarName}}")
44+
"for variables (e.g. timestamp, pid, ppid) via Go template syntax {{varName}}")
4545
fs.StringVar(&c.tfExecPath, "tf-exec", "", "(DEPRECATED) path to Terraform binary. Use terraformExecPath LSP config option instead.")
4646
fs.StringVar(&c.tfExecTimeout, "tf-exec-timeout", "", "(DEPRECATED) Overrides Terraform execution timeout (e.g. 30s)")
4747
fs.StringVar(&c.tfExecLogPath, "tf-log-file", "", "(DEPRECATED) path to a file for Terraform executions"+
48-
" to be logged into with support for variables (e.g. Timestamp, Pid, Ppid) via Go template"+
49-
" syntax {{.VarName}}")
48+
" to be logged into with support for variables (e.g. timestamp, pid, ppid) via Go template"+
49+
" syntax {{varName}}")
5050
fs.StringVar(&c.cpuProfile, "cpuprofile", "", "file into which to write CPU profile (if not empty)"+
51-
" with support for variables (e.g. Timestamp, Pid, Ppid) via Go template"+
52-
" syntax {{.VarName}}")
51+
" with support for variables (e.g. timestamp, pid, ppid) via Go template"+
52+
" syntax {{varName}}")
5353
fs.StringVar(&c.memProfile, "memprofile", "", "file into which to write memory profile (if not empty)"+
54-
" with support for variables (e.g. Timestamp, Pid, Ppid) via Go template"+
55-
" syntax {{.VarName}}")
54+
" with support for variables (e.g. timestamp, pid, ppid) via Go template"+
55+
" syntax {{varName}}")
5656
fs.IntVar(&c.reqConcurrency, "req-concurrency", 0, fmt.Sprintf("number of RPC requests to process concurrently,"+
5757
" defaults to %d, concurrency lower than 2 is not recommended", langserver.DefaultConcurrency()))
5858

0 commit comments

Comments
 (0)
Please sign in to comment.