Skip to content

Commit 4d5b065

Browse files
committed
fixup! chore: Invert delay_login_until_ready, now login_before_ready
1 parent 57e130f commit 4d5b065

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cli/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func ssh() *cobra.Command {
250250
cliflag.BoolVarP(cmd.Flags(), &forwardGPG, "forward-gpg", "G", "CODER_SSH_FORWARD_GPG", false, "Specifies whether to forward the GPG agent. Unsupported on Windows workspaces, but supports all clients. Requires gnupg (gpg, gpgconf) on both the client and workspace. The GPG agent must already be running locally and will not be started for you. If a GPG agent is already running in the workspace, it will be attempted to be killed.")
251251
cliflag.StringVarP(cmd.Flags(), &identityAgent, "identity-agent", "", "CODER_SSH_IDENTITY_AGENT", "", "Specifies which identity agent to use (overrides $SSH_AUTH_SOCK), forward agent must also be enabled")
252252
cliflag.DurationVarP(cmd.Flags(), &wsPollInterval, "workspace-poll-interval", "", "CODER_WORKSPACE_POLL_INTERVAL", workspacePollInterval, "Specifies how often to poll for workspace automated shutdown.")
253-
cliflag.BoolVarP(cmd.Flags(), &noWait, "no-wait", "", "CODER_SSH_NO_WAIT", false, "Specifies whether to wait for a workspace to become ready before logging in (only applicable when the delay login until ready option is enabled). Note that the workspace agent may still be in the process of executing the startup script and the workspace may be in an incomplete state.")
253+
cliflag.BoolVarP(cmd.Flags(), &noWait, "no-wait", "", "CODER_SSH_NO_WAIT", false, "Specifies whether to wait for a workspace to become ready before logging in (only applicable when the login before ready option has not been enabled). Note that the workspace agent may still be in the process of executing the startup script and the workspace may be in an incomplete state.")
254254
return cmd
255255
}
256256

cli/testdata/coder_ssh_--help.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Flags:
2222
Consumes $CODER_SSH_IDENTITY_AGENT
2323
--no-wait Specifies whether to wait for a workspace to become
2424
ready before logging in (only applicable when the
25-
delay login until ready option is enabled). Note
26-
that the workspace agent may still be in the
25+
login before ready option has not been enabled).
26+
Note that the workspace agent may still be in the
2727
process of executing the startup script and the
2828
workspace may be in an incomplete state.
2929
Consumes $CODER_SSH_NO_WAIT

0 commit comments

Comments
 (0)