diff --git a/guides/v2.2/config-guide/cli/config-cli-subcommands-config-mgmt-set.md b/guides/v2.2/config-guide/cli/config-cli-subcommands-config-mgmt-set.md index bcbca866216..23548d697d1 100644 --- a/guides/v2.2/config-guide/cli/config-cli-subcommands-config-mgmt-set.md +++ b/guides/v2.2/config-guide/cli/config-cli-subcommands-config-mgmt-set.md @@ -110,7 +110,7 @@ bin/magento config:set [--scope="..."] [--scope-code="..."] [-l | --lock] path v To set system-specific configuration values on Magento 2.2.4 and higher (on the 2.2 branch), use: ```bash -bin/magento config:set [--scope="..."] [--scope-code="..."] [-e | --lock-env] [-c | --lock-config] path value +bin/magento config:set [--scope="..."] [--scope-code="..."] [-le | --lock-env] [-lc | --lock-config] path value ``` To set sensitive configuration values, use: @@ -126,8 +126,8 @@ Parameter | Description | Versions available `--scope` | The scope of the configuration. The possible values are `default`, `website`, or `store`. The default is `default`. | All `--scope-code` | The scope code of configuration (website code or store view code). | All `-l` or `--lock` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/env.php` file. | 2.2.0 - 2.2.3 -`-e or --lock-env` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/env.php` file. | 2.2.4 and higher -`-c or --lock-config` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/config.php` file. The `--lock-config` option overwrites `--lock-env` if you specify both options. | 2.2.4 and higher +`-le or --lock-env` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/env.php` file. | 2.2.4 and higher +`-lc or --lock-config` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/config.php` file. The `--lock-config` option overwrites `--lock-env` if you specify both options. | 2.2.4 and higher `path` | *Required*. The configuration path | All `value` | *Required*. The value of the configuration | All diff --git a/guides/v2.3/config-guide/cli/config-cli-subcommands-config-mgmt-set.md b/guides/v2.3/config-guide/cli/config-cli-subcommands-config-mgmt-set.md index 1bdda90800b..3f6a83b97ba 100644 --- a/guides/v2.3/config-guide/cli/config-cli-subcommands-config-mgmt-set.md +++ b/guides/v2.3/config-guide/cli/config-cli-subcommands-config-mgmt-set.md @@ -111,7 +111,7 @@ To find the values in the database: To set system-specific configuration values, use: ```bash -bin/magento config:set [--scope="..."] [--scope-code="..."] [-e | --lock-env] [-c | --lock-config] path value +bin/magento config:set [--scope="..."] [--scope-code="..."] [-le | --lock-env] [-lc | --lock-config] path value ``` To set sensitive configuration values, use: @@ -126,8 +126,8 @@ Parameter | Description --- | --- | --- `--scope` | The scope of the configuration. The possible values are `default`, `website`, or `store`. The default is `default`. `--scope-code` | The scope code of configuration (website code or store view code) -`-e or --lock-env` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/env.php` file. -`-c or --lock-config` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/config.php` file. The `--lock-config` option overwrites `--lock-env` if you specify both options. +`-le or --lock-env` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/env.php` file. +`-lc or --lock-config` | Either locks the value so it cannot be edited in the Magento Admin or changes a setting that is already locked in the Magento Admin. The command writes the value to the `/app/etc/config.php` file. The `--lock-config` option overwrites `--lock-env` if you specify both options. `path` | *Required*. The configuration path `value` | *Required*. The value of the configuration