diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php
index c7d00fd00..13902ac67 100644
--- a/src/Composer/Command/ConfigCommand.php
+++ b/src/Composer/Command/ConfigCommand.php
@@ -76,7 +76,7 @@ You can add a repository to the global config.json file by passing in the
To edit the file in an external editor:
- %command.full_name% --edit
+ %command.full_name% --editor
To choose your editor you can set the "EDITOR" env variable.
@@ -87,7 +87,7 @@ To get a list of configuration values in the file:
You can always pass more than one option. As an example, if you want to edit the
global config.json file.
- %command.full_name% --edit --global
+ %command.full_name% --editor --global
EOT
)
;