mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: unhide flag to force unix filepaths in config-ssh (#25142)
Docs now include this flag. This flag is now also viewable in linux/mac despite it effectively being a `no-op`. Closes https://github.com/coder/coder/issues/24205
This commit is contained in:
@@ -566,11 +566,6 @@ func (r *RootCmd) configSSH() *serpent.Command {
|
||||
"This might be an issue in Windows machine that use a unix-like shell. " +
|
||||
"This flag forces the use of unix file paths (the forward slash '/').",
|
||||
Value: serpent.BoolOf(&sshConfigOpts.forceUnixSeparators),
|
||||
// On non-windows showing this command is useless because it is a noop.
|
||||
// Hide vs disable it though so if a command is copied from a Windows
|
||||
// machine to a unix machine it will still work and not throw an
|
||||
// "unknown flag" error.
|
||||
Hidden: hideForceUnixSlashes,
|
||||
},
|
||||
cliui.SkipPromptOption(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user