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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy