Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15450336
D14797.id35778.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
952 B
Referenced Files
None
Subscribers
None
D14797.id35778.diff
View Options
diff --git a/scripts/arcanist.php b/scripts/arcanist.php
--- a/scripts/arcanist.php
+++ b/scripts/arcanist.php
@@ -74,17 +74,27 @@
$workflow = null;
try {
+ if ($config_trace_mode) {
+ echo tsprintf(
+ "**<bg:magenta> %s </bg>** %s\n",
+ pht('ARGV'),
+ csprintf('%Ls', $original_argv));
+
+ $libraries = array(
+ 'phutil',
+ 'arcanist',
+ );
- $console->writeLog(
- "%s\n",
- pht(
- "libphutil loaded from '%s'.",
- phutil_get_library_root('phutil')));
- $console->writeLog(
- "%s\n",
- pht(
- "arcanist loaded from '%s'.",
- phutil_get_library_root('arcanist')));
+ foreach ($libraries as $library_name) {
+ echo tsprintf(
+ "**<bg:magenta> %s </bg>** %s\n",
+ pht('LOAD'),
+ pht(
+ 'Loaded "%s" from "%s".',
+ $library_name,
+ phutil_get_library_root($library_name)));
+ }
+ }
if (!$args) {
if ($help) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 29, 3:07 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7703358
Default Alt Text
D14797.id35778.diff (952 B)
Attached To
Mode
D14797: When `arc` is run with `--trace`, print out argv explicitly
Attached
Detach File
Event Timeline
Log In to Comment