mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-09 00:12:40 +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:
parent
baadc1f842
commit
d62830195c
1 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ final class ArcanistRuntime {
|
||||||
private function executeCore(array $argv) {
|
private function executeCore(array $argv) {
|
||||||
$config_args = array(
|
$config_args = array(
|
||||||
array(
|
array(
|
||||||
'name' => 'load-phutil-library',
|
'name' => 'library',
|
||||||
'param' => 'path',
|
'param' => 'path',
|
||||||
'help' => pht('Load a libphutil library.'),
|
'help' => pht('Load a libphutil library.'),
|
||||||
'repeat' => true,
|
'repeat' => true,
|
||||||
|
@ -299,10 +299,10 @@ final class ArcanistRuntime {
|
||||||
$load = array();
|
$load = array();
|
||||||
$working_copy = $config->getWorkingCopyIdentity();
|
$working_copy = $config->getWorkingCopyIdentity();
|
||||||
|
|
||||||
$cli_libraries = $args->getArg('load-phutil-library');
|
$cli_libraries = $args->getArg('library');
|
||||||
if ($cli_libraries) {
|
if ($cli_libraries) {
|
||||||
$load[] = array(
|
$load[] = array(
|
||||||
'--load-phutil-library',
|
'--library',
|
||||||
$cli_libraries,
|
$cli_libraries,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue