From 09c814ed482d74858cdb15e2429a29e36ed75a20 Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Wed, 22 Feb 2012 11:05:50 -0800 Subject: [PATCH] Allow loading multiple phutil libraries from command line Summary: see title Test Plan: loaded multiple libraries Reviewers: blair, epriestley, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1668 --- scripts/arcanist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/arcanist.php b/scripts/arcanist.php index 1e84eb3c..3808137e 100755 --- a/scripts/arcanist.php +++ b/scripts/arcanist.php @@ -50,7 +50,7 @@ foreach ($args as $key => $arg) { PhutilConsoleFormatter::disableANSI(true); } else if (preg_match('/^--load-phutil-library=(.*)$/', $arg, $matches)) { unset($args[$key]); - $load['?'] = $matches[1]; + $load[] = $matches[1]; } else if (preg_match('/^--conduit-uri=(.*)$/', $arg, $matches)) { unset($args[$key]); $force_conduit = $matches[1]; -- 2.43.0