Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14033379
D9205.id21867.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9205.id21867.diff
View Options
diff --git a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
--- a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
+++ b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
@@ -99,15 +99,32 @@
$console = PhutilConsole::getConsole();
if ($debug) {
- $console->writeOut(
- pht(
- 'Launching daemon "%s" in debug mode (not daemonized).',
- $daemon)."\n");
+ if ($argv) {
+ $console->writeOut(
+ pht(
+ "Launching daemon \"%s\" in debug mode (not daemonized) ".
+ "with arguments %s.\n",
+ $daemon,
+ json_encode($argv)));
+ } else {
+ $console->writeOut(
+ pht(
+ "Launching daemon \"%s\" in debug mode (not daemonized).\n",
+ $daemon));
+ }
} else {
- $console->writeOut(
- pht(
- 'Launching daemon "%s".',
- $daemon)."\n");
+ if ($argv) {
+ $console->writeOut(
+ pht(
+ "Launching daemon \"%s\" with arguments %s.\n",
+ $daemon,
+ json_encode($argv)));
+ } else {
+ $console->writeOut(
+ pht(
+ "Launching daemon \"%s\".\n",
+ $daemon));
+ }
}
foreach ($argv as $key => $arg) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 10, 5:34 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710909
Default Alt Text
D9205.id21867.diff (1 KB)
Attached To
Mode
D9205: Show daemon arguments when launching a daemon with `./bin/phd`.
Attached
Detach File
Event Timeline
Log In to Comment