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

Commitcffe049

Browse files
committed
chore: update preset flag description
1 parent77a72b1 commitcffe049

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎cli/create.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func (r *RootCmd) create() *serpent.Command {
377377
serpent.Option{
378378
Flag:"preset",
379379
Env:"CODER_PRESET_NAME",
380-
Description:"Specify a template version preset name. Use 'default' toapply the defaultpresetdefined in the template version, if available.",
380+
Description:"Specifythe name ofa template version preset. Use 'none' toexplicitly indicate that nopresetshould be used.",
381381
Value:serpent.StringOf(&presetName),
382382
},
383383
serpent.Option{

‎cli/testdata/coder_create_--help.golden‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ OPTIONS:
2727
Rich parameter default values in the format "name=value".
2828

2929
--preset string, $CODER_PRESET_NAME
30-
Specify a template version preset name. Use 'default' to apply the
31-
default preset defined in the template version, if available.
30+
Specifythe name ofa template version preset. Use 'none' to
31+
explicitly indicate that no preset should be used.
3232

3333
--rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
3434
Specify a file path with values for rich parameters defined in the

‎docs/reference/cli/create.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