mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
chore(cli/configssh): add comment about wait and skip proxy (#7917)
This commit is contained in:
@@ -219,6 +219,8 @@ func (r *RootCmd) configSSH() *clibase.Cmd {
|
||||
),
|
||||
Handler: func(inv *clibase.Invocation) error {
|
||||
if sshConfigOpts.waitEnum != "auto" && skipProxyCommand {
|
||||
// The wait option is applied to the ProxyCommand. If the user
|
||||
// specifies skip-proxy-command, then wait cannot be applied.
|
||||
return xerrors.Errorf("cannot specify both --skip-proxy-command and --wait")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user