Page MenuHomePhabricator

D9205.id21920.diff
No OneTemporary

D9205.id21920.diff

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,
+ csprintf('%LR', $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,
+ csprintf('%LR', $argv)));
+ } else {
+ $console->writeOut(
+ pht(
+ "Launching daemon \"%s\".\n",
+ $daemon));
+ }
}
foreach ($argv as $key => $arg) {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 4, 9:25 PM (2 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727633
Default Alt Text
D9205.id21920.diff (1 KB)

Event Timeline