Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b6adcc

Browse files
committed
update cli usage doc
1 parent13b30c7 commit8b6adcc

File tree

6 files changed

+51
-49
lines changed

6 files changed

+51
-49
lines changed

‎cli/testdata/coder_--help.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ SUBCOMMANDS:
5757
tokens Manage personal access tokens
5858
unfavorite Remove a workspace from your favorites
5959
update Will update and start a given workspace if it is out of
60-
date
60+
date. If the workspace is already running, it will be
61+
stopped first.
6162
users Manage users
6263
version Show coder version
6364
whoami Fetch authenticated user info for Coder deployment

‎cli/testdata/coder_update_--help.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ coder v0.0.0-devel
33
USAGE:
44
coder update [flags] <workspace>
55

6-
Will update and start a given workspace if it is out of date
6+
Will update and start a given workspace if it is out of date. If the workspace
7+
is already running, it will be stopped first.
78

89
Use --always-prompt to change the parameter values of the workspace.
910

‎cli/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func (r *RootCmd) update() *serpent.Command {
1919
cmd:=&serpent.Command{
2020
Annotations:workspaceCommand,
2121
Use:"update <workspace>",
22-
Short:"Will update and start a given workspace if it is out of date",
22+
Short:"Will update and start a given workspace if it is out of date. If the workspace is already running, it will be stopped first.",
2323
Long:"Use --always-prompt to change the parameter values of the workspace.",
2424
Middleware:serpent.Chain(
2525
serpent.RequireNArgs(1),

‎docs/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@
16941694
},
16951695
{
16961696
"title":"update",
1697-
"description":"Will update and start a given workspace if it is out of date",
1697+
"description":"Will update and start a given workspace if it is out of date. If the workspace is already running, it will be stopped first.",
16981698
"path":"reference/cli/update.md"
16991699
},
17001700
{

‎docs/reference/cli/index.md

Lines changed: 44 additions & 44 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/reference/cli/update.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp