浏览代码

Fixed the help of the config command

Christophe Coevoet 12 年之前
父节点
当前提交
c322476343
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/Composer/Command/ConfigCommand.php

+ 5 - 5
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:
 To edit the global config.json file:
 
 
-    <comment>php composer.phar --global</comment>
+    <comment>%command.full_name% --global</comment>
 
 
 To add a repository:
 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
 You can add a repository to the global config.json file by passing in the
 <info>--global</info> option.
 <info>--global</info> option.
 
 
 To edit the file in an external editor:
 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 choose your editor you can set the "EDITOR" env variable.
 
 
 To get a list of configuration values in the file:
 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
 You can always pass more than one option. As an example, if you want to edit the
 global config.json file.
 global config.json file.
 
 
-    <comment>php composer.phar --edit --global</comment>
+    <comment>%command.full_name% --edit --global</comment>
 EOT
 EOT
             )
             )
         ;
         ;