From 52f07168532d0689a79a5a298bd71fb8fa84b3db Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 18 Oct 2022 15:13:35 -0700 Subject: [PATCH] fix: tweak config set messages --- messages/config.set.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/messages/config.set.md b/messages/config.set.md index b415c004..e5694d06 100644 --- a/messages/config.set.md +++ b/messages/config.set.md @@ -6,7 +6,7 @@ Set one or more configuration variables, such as your default org. 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. -Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any directory. +Local configuration variables apply only to your current project. Global variables, specified with the --global flag, apply in any Salesforce DX project. The resolution order if you've set a flag value in multiple ways is as follows: @@ -30,12 +30,13 @@ Run "sf config list" to see the configuration variables you've already set and t <%= config.bin %> <%= command.id %> --global target-org=my-scratch-org -- Single config values can be set without an equal sign +- Set a single configuration variable without using an equal sign; this syntax doesn't work when setting multiple configuration variables: + <%= config.bin %> <%= command.id %> target-org me@my.com # flags.global.summary -Set the configuration variables globally, so they can be used from any directory. +Set the configuration variables globally, so they can be used from any Salesforce DX project. # error.ArgumentsRequired @@ -43,4 +44,4 @@ You must provide one or more configuration variables to set. Use the --help flag # error.ValueRequired -You must provide a value when setting a config. Use `sf config unset the-config-name` to remove existing configs. +You must provide a value when setting a config. Use `sf config unset the-config-name` to unset existing configs.