Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15417869
D9274.id22029.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
590 B
Referenced Files
None
Subscribers
None
D9274.id22029.diff
View Options
diff --git a/src/configuration/ArcanistConfiguration.php b/src/configuration/ArcanistConfiguration.php
--- a/src/configuration/ArcanistConfiguration.php
+++ b/src/configuration/ArcanistConfiguration.php
@@ -27,6 +27,9 @@
// 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);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 7:04 PM (6 d, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7715894
Default Alt Text
D9274.id22029.diff (590 B)
Attached To
Mode
D9274: Handle `arc --version`.
Attached
Detach File
Event Timeline
Log In to Comment