Skip to content

Commit d5cf4e1

Browse files
committed
golden
1 parent d3fb0b8 commit d5cf4e1

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

cli/testdata/coder_server_--help.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ CLIENT OPTIONS:
6262
These options change the behavior of how clients interact with the Coder.
6363
Clients include the coder cli, vs code extension, and the web UI.
6464

65+
--cli-upgrade-message string, $CODER_CLI_UPGRADE_MESSAGE
66+
The upgrade message to display to users when a client/server mismatch
67+
is detected. By default it instructs users to update using 'curl -L
68+
https://coder.com/install.sh | sh'.
69+
6570
--ssh-config-options string-array, $CODER_SSH_CONFIG_OPTIONS
6671
These SSH config options will override the default SSH config options.
6772
Provide options in "key=value" or "key value" format separated by

cli/testdata/server-config.yaml.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,11 @@ client:
433433
# incorrectly can break SSH to your deployment, use cautiously.
434434
# (default: <unset>, type: string-array)
435435
sshConfigOptions: []
436+
# The upgrade message to display to users when a client/server mismatch is
437+
# detected. By default it instructs users to update using 'curl -L
438+
# https://coder.com/install.sh | sh'.
439+
# (default: <unset>, type: string)
440+
cliUpgradeMessage: ""
436441
# The renderer to use when opening a web terminal. Valid values are 'canvas',
437442
# 'webgl', or 'dom'.
438443
# (default: canvas, type: string)

enterprise/cli/testdata/coder_server_--help.golden

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ CLIENT OPTIONS:
6363
These options change the behavior of how clients interact with the Coder.
6464
Clients include the coder cli, vs code extension, and the web UI.
6565

66+
--cli-upgrade-message string, $CODER_CLI_UPGRADE_MESSAGE
67+
The upgrade message to display to users when a client/server mismatch
68+
is detected. By default it instructs users to update using 'curl -L
69+
https://coder.com/install.sh | sh'.
70+
6671
--ssh-config-options string-array, $CODER_SSH_CONFIG_OPTIONS
6772
These SSH config options will override the default SSH config options.
6873
Provide options in "key=value" or "key value" format separated by

0 commit comments

Comments
 (0)