diff --git a/src/configuration/ArcanistConfiguration.php b/src/configuration/ArcanistConfiguration.php index 790dc195..b5a89f1a 100644 --- a/src/configuration/ArcanistConfiguration.php +++ b/src/configuration/ArcanistConfiguration.php @@ -27,6 +27,9 @@ class ArcanistConfiguration { // Special-case "arc --help" to behave like "arc help" instead of telling // you to type "arc help" without being helpful. $command = 'help'; + } else if ($command == '--version') { + // Special-case "arc --version" to behave like "arc version". + $command = 'version'; } return idx($this->buildAllWorkflows(), $command);