mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
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
This commit is contained in:
parent
2b8bbae5fb
commit
b2e96df3a3
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ abstract class PhabricatorConduitController extends PhabricatorController {
|
||||||
$parts[] = '--conduit-token ';
|
$parts[] = '--conduit-token ';
|
||||||
$parts[] = phutil_tag('strong', array(), '<conduit-token>');
|
$parts[] = phutil_tag('strong', array(), '<conduit-token>');
|
||||||
$parts[] = ' ';
|
$parts[] = ' ';
|
||||||
|
$parts[] = '--';
|
||||||
|
$parts[] = ' ';
|
||||||
|
|
||||||
$parts[] = $method->getAPIMethodName();
|
$parts[] = $method->getAPIMethodName();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue