[docs] Format config command options consistently
parent
eef64d1189
commit
f6a761ac5d
|
@ -257,16 +257,16 @@ options.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
* **-g|--global:** Operate on the global config file located at
|
* **--global (-g):** Operate on the global config file located at
|
||||||
`$COMPOSER_HOME/config.json` by default. Without this option, this command
|
`$COMPOSER_HOME/config.json` by default. Without this option, this command
|
||||||
affects the local composer.json file or a file specified by `--file`.
|
affects the local composer.json file or a file specified by `--file`.
|
||||||
* **-e|--editor:** Open the local composer.json file using in a text editor as
|
* **--editor (-e):** Open the local composer.json file using in a text editor as
|
||||||
defined by the `EDITOR` env variable. With the `--global` option, this opens
|
defined by the `EDITOR` env variable. With the `--global` option, this opens
|
||||||
the global config file.
|
the global config file.
|
||||||
* **--unset:** Remove the configuration element named by `setting-key`.
|
* **--unset:** Remove the configuration element named by `setting-key`.
|
||||||
* **-l|--list:** Show the list of current config variables. With the `--global`
|
* **--list (-l):** Show the list of current config variables. With the `--global`
|
||||||
option this lists the global configuration only.
|
option this lists the global configuration only.
|
||||||
* **-f|--file="...":** Operate on a specific file instead of composer.json. Note
|
* **--file="..." (-f):** Operate on a specific file instead of composer.json. Note
|
||||||
that this cannot be used in conjunction with the `--global` option.
|
that this cannot be used in conjunction with the `--global` option.
|
||||||
|
|
||||||
### Modifying Repositories
|
### Modifying Repositories
|
||||||
|
|
Loading…
Reference in New Issue