1
0
Fork 0

Merge pull request #1211 from stof/patch-4

Fixed the help of the config command
pull/1213/merge
Jordi Boggiano 2012-10-15 05:49:43 -07:00
commit 0175ba973c
1 changed files with 5 additions and 5 deletions

View File

@ -55,29 +55,29 @@ local composer.json file or the global config.json file.
To edit the global config.json file:
<comment>php composer.phar --global</comment>
<comment>%command.full_name% --global</comment>
To add a repository:
<comment>php composer.phar repositories.foo vcs http://bar.com</comment>
<comment>%command.full_name% repositories.foo vcs http://bar.com</comment>
You can add a repository to the global config.json file by passing in the
<info>--global</info> option.
To edit the file in an external editor:
<comment>php composer.phar --edit</comment>
<comment>%command.full_name% --edit</comment>
To choose your editor you can set the "EDITOR" env variable.
To get a list of configuration values in the file:
<comment>php composer.phar --list</comment>
<comment>%command.full_name% --list</comment>
You can always pass more than one option. As an example, if you want to edit the
global config.json file.
<comment>php composer.phar --edit --global</comment>
<comment>%command.full_name% --edit --global</comment>
EOT
)
;