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:
Steven Masley
2026-05-13 14:59:33 -05:00
committed by GitHub
parent 38f586107d
commit 0f505aa4da
5 changed files with 9 additions and 15 deletions
-5
View File
@@ -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(),
}