diff --git a/doc/03-cli.md b/doc/03-cli.md index 5055837f7..39634e06c 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -257,16 +257,16 @@ 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 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 the global config file. * **--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. -* **-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. ### Modifying Repositories