From c3224763430762e110b1eeebeeecf14b70633d6e Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 15 Oct 2012 15:30:44 +0300 Subject: [PATCH] Fixed the help of the config command --- src/Composer/Command/ConfigCommand.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 900b206e5..a539a2a5e 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/src/Composer/Command/ConfigCommand.php @@ -55,29 +55,29 @@ local composer.json file or the global config.json file. To edit the global config.json file: - php composer.phar --global + %command.full_name% --global To add a repository: - php composer.phar repositories.foo vcs http://bar.com + %command.full_name% repositories.foo vcs http://bar.com You can add a repository to the global config.json file by passing in the --global option. To edit the file in an external editor: - php composer.phar --edit + %command.full_name% --edit To choose your editor you can set the "EDITOR" env variable. To get a list of configuration values in the file: - php composer.phar --list + %command.full_name% --list You can always pass more than one option. As an example, if you want to edit the global config.json file. - php composer.phar --edit --global + %command.full_name% --edit --global EOT ) ;