Skip to content

Commit 52f0716

Browse files
fix: tweak config set messages
1 parent 0cd2322 commit 52f0716

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

messages/config.set.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Set one or more configuration variables, such as your default org.
66

77
Use configuration variables to set CLI defaults, such as your default org or the API version you want the CLI to use. For example, if you set the "target-org" configuration variable, you don't need to specify it as a "sf deploy metadata" flag if you're deploying to your default org.
88

9-
Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any directory.
9+
Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any Salesforce DX project.
1010

1111
The resolution order if you've set a flag value in multiple ways is as follows:
1212

@@ -30,17 +30,18 @@ Run "sf config list" to see the configuration variables you've already set and t
3030

3131
<%= config.bin %> <%= command.id %> --global target-org=my-scratch-org
3232

33-
- Single config values can be set without an equal sign
33+
- Set a single configuration variable without using an equal sign; this syntax doesn't work when setting multiple configuration variables:
34+
3435
<%= config.bin %> <%= command.id %> target-org me@my.com
3536

3637
# flags.global.summary
3738

38-
Set the configuration variables globally, so they can be used from any directory.
39+
Set the configuration variables globally, so they can be used from any Salesforce DX project.
3940

4041
# error.ArgumentsRequired
4142

4243
You must provide one or more configuration variables to set. Use the --help flag to view the available configuration variables.
4344

4445
# error.ValueRequired
4546

46-
You must provide a value when setting a config. Use `sf config unset the-config-name` to remove existing configs.
47+
You must provide a value when setting a config. Use `sf config unset the-config-name` to unset existing configs.

0 commit comments

Comments
 (0)