diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index 35a589f30..2f7403192 100755 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -163,6 +163,7 @@ class Application extends BaseApplication { $definition = parent::getDefaultInputDefinition(); $definition->addOption(new InputOption('--profile', null, InputOption::VALUE_NONE, 'Display timing and memory usage information')); + $definition->addOption(new InputOption('--working-dir', '-d', InputOption::VALUE_REQUIRED, 'If specified, use the given directory as working directory.')); return $definition; }