From 0c9a03771961be79d09e566051a5a594866760d9 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 18 May 2015 09:40:43 +1000 Subject: [PATCH] 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 --- src/workflow/ArcanistWhichWorkflow.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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"; }