From 03034dc5080f37e5fc6256c088420cf1da566bf2 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 8 Jun 2023 17:23:03 +0300 Subject: [PATCH] chore(cli/configssh): add comment about wait and skip proxy (#7917) --- cli/configssh.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/configssh.go b/cli/configssh.go index 6d20205e86..00eabb9907 100644 --- a/cli/configssh.go +++ b/cli/configssh.go @@ -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") }