Content-Length: 305369 | pFad | http://github.com/coder/coder/commit/c0100357d4ca1ba48e490bbc26df06adbac2773c

90 fixup: env and flag match · coder/coder@c010035 · GitHub
Skip to content

Commit c010035

Browse files
committed
fixup: env and flag match
1 parent 74b53d9 commit c010035

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

cli/configssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,8 @@ func (r *RootCmd) configSSH() *serpent.Command {
533533
},
534534
{
535535
Flag: "hostname-suffix",
536-
Env: "CODER_CONFIGSSH_HOST_SUFFIX",
537-
Description: "Override the default host suffix.",
536+
Env: "CODER_CONFIGSSH_HOSTNAME_SUFFIX",
537+
Description: "Override the default hostname suffix.",
538538
Value: serpent.StringOf(&sshConfigOpts.hostnameSuffix),
539539
},
540540
{

cli/testdata/coder_config-ssh_--help.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ OPTIONS:
3333
unix-like shell. This flag forces the use of unix file paths (the
3434
forward slash '/').
3535

36-
--hostname-suffix string, $CODER_CONFIGSSH_HOST_SUFFIX
37-
Override the default host suffix.
36+
--hostname-suffix string, $CODER_CONFIGSSH_HOSTNAME_SUFFIX
37+
Override the default hostname suffix.
3838

3939
--ssh-config-file string, $CODER_SSH_CONFIG_FILE (default: ~/.ssh/config)
4040
Specifies the path to an SSH config.

docs/reference/cli/config-ssh.md

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coder/coder/commit/c0100357d4ca1ba48e490bbc26df06adbac2773c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy