Skip to content

Commit cffe049

Browse files
committed
chore: update preset flag description
1 parent 77a72b1 commit cffe049

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' to apply the default preset defined in the template version, if available.",
380+
Description: "Specify the name of a template version preset. Use 'none' to explicitly indicate that no preset should 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+
Specify the name of a 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 about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy