Skip to content

Commit 03034dc

Browse files
authored
chore(cli/configssh): add comment about wait and skip proxy (#7917)
1 parent fa91e11 commit 03034dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/configssh.go

+2
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ func (r *RootCmd) configSSH() *clibase.Cmd {
219219
),
220220
Handler: func(inv *clibase.Invocation) error {
221221
if sshConfigOpts.waitEnum != "auto" && skipProxyCommand {
222+
// The wait option is applied to the ProxyCommand. If the user
223+
// specifies skip-proxy-command, then wait cannot be applied.
222224
return xerrors.Errorf("cannot specify both --skip-proxy-command and --wait")
223225
}
224226

0 commit comments

Comments
 (0)