Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14746368
D21323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
910 B
Referenced Files
None
Subscribers
None
D21323.diff
View Options
diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -55,6 +55,12 @@
'help' => pht('Load a libphutil library.'),
'repeat' => true,
),
+ array(
+ 'name' => 'library',
+ 'param' => 'path',
+ 'help' => pht('Load a library (same as --load-phutil-library).'),
+ 'repeat' => true,
+ ),
array(
'name' => 'arcrc-file',
'param' => 'filename',
@@ -89,7 +95,9 @@
$force_token = $base_args->getArg('conduit-token');
$custom_arcrc = $base_args->getArg('arcrc-file');
$is_anonymous = $base_args->getArg('anonymous');
-$load = $base_args->getArg('load-phutil-library');
+$load = array_merge(
+ $base_args->getArg('load-phutil-library'),
+ $base_args->getArg('library'));
$help = $base_args->getArg('help');
$args = array_values($base_args->getUnconsumedArgumentVector());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 9:44 AM (5 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7028895
Default Alt Text
D21323.diff (910 B)
Attached To
Mode
D21323: Alias newer "--library" to "--load-phutil-library" in legacy workflows
Attached
Detach File
Event Timeline
Log In to Comment