1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-08 16:02:39 +01:00

[Wilds] Rename "--load-phutil-library" to "--library" in new arc

Summary: Ref T13098. The name of this option is needlessly obscure/verbose, and we now require it come first so it should be unambiguous even if we add `arc borrow-a-book` later.

Test Plan: Grepped for `--load-phutil-library`.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13098

Differential Revision: https://secure.phabricator.com/D19686
This commit is contained in:
epriestley 2018-09-18 09:56:21 -07:00
parent baadc1f842
commit d62830195c

View file

@ -35,7 +35,7 @@ final class ArcanistRuntime {
private function executeCore(array $argv) {
$config_args = array(
array(
'name' => 'load-phutil-library',
'name' => 'library',
'param' => 'path',
'help' => pht('Load a libphutil library.'),
'repeat' => true,
@ -299,10 +299,10 @@ final class ArcanistRuntime {
$load = array();
$working_copy = $config->getWorkingCopyIdentity();
$cli_libraries = $args->getArg('load-phutil-library');
$cli_libraries = $args->getArg('library');
if ($cli_libraries) {
$load[] = array(
'--load-phutil-library',
'--library',
$cli_libraries,
);
} else {