From: Joshua Spence Date: Sun, 17 May 2015 23:40:43 +0000 (+1000) Subject: Fix `arc which` output X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0c9a03771961be79d09e566051a5a594866760d9;p=arcanist.git Fix `arc which` output Summary: Fixes T8231. This was derped in some recent refactoring. Test Plan: Ran `arc which` and saw expected output. Reviewers: avivey, epriestley, #blessed_reviewers Reviewed By: avivey, epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T8231 Differential Revision: https://secure.phabricator.com/D12890 --- diff --git a/src/workflow/ArcanistWhichWorkflow.php b/src/workflow/ArcanistWhichWorkflow.php index 8bc191e9..fdae9c7a 100644 --- a/src/workflow/ArcanistWhichWorkflow.php +++ b/src/workflow/ArcanistWhichWorkflow.php @@ -160,13 +160,14 @@ EOTEXT } echo phutil_console_wrap( - "%s\n\n%s\n\n $ %s\n\n%s\n\n", - $will_be_sent, - pht( - 'You can see the exact changes that will be sent by running '. - 'this command:'), - $command, - pht('These commits will be included in the diff:')); + phutil_console_format( + "%s\n\n%s\n\n $ %s\n\n%s\n\n", + $will_be_sent, + pht( + 'You can see the exact changes that will be sent by running '. + 'this command:'), + $command, + pht('These commits will be included in the diff:'))); echo $commits."\n\n\n"; }