From b2e96df3a3bed0ba0d9a6662e1c5934910fb0425 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 19 Oct 2020 11:53:09 -0700 Subject: [PATCH] Update "arc call-conduit" instructions in Conduit API console for required "--" Summary: See PHI1912. Ref T13491. "arc" now requires "--" when stdin is not a TTY; provide this argument for users. Test Plan: Viewed example in console, saw "--". Executed example. Maniphest Tasks: T13491 Differential Revision: https://secure.phabricator.com/D21482 --- src/applications/conduit/controller/PhabricatorConduitController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applications/conduit/controller/PhabricatorConduitController.php b/src/applications/conduit/controller/PhabricatorConduitController.php index 97e1ad0294..0f7b2ef54b 100644 --- a/src/applications/conduit/controller/PhabricatorConduitController.php +++ b/src/applications/conduit/controller/PhabricatorConduitController.php @@ -142,6 +142,8 @@ abstract class PhabricatorConduitController extends PhabricatorController { $parts[] = '--conduit-token '; $parts[] = phutil_tag('strong', array(), ''); $parts[] = ' '; + $parts[] = '--'; + $parts[] = ' '; $parts[] = $method->getAPIMethodName(); -- 2.11.4.GIT