1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 16:30:59 +01:00

Improve phd help

Summary: Fixes T3680. One description was wrong, and clean up some of the other stuff.

Test Plan: Ran `phd`.

Reviewers: btrahan, Korvin

Reviewed By: Korvin

CC: aran, jifriedman, Korvin

Maniphest Tasks: T3680

Differential Revision: https://secure.phabricator.com/D6683
This commit is contained in:
epriestley 2013-08-06 09:10:53 -07:00
parent 0e6b5073cd
commit 5a352d0a69
3 changed files with 14 additions and 3 deletions

View file

@ -10,7 +10,11 @@ final class PhabricatorDaemonManagementDebugWorkflow
public function didConstruct() {
$this
->setName('debug')
->setSynopsis(pht('Show a list of available daemons.'))
->setExamples('**debug** __daemon__')
->setSynopsis(
pht(
'Start __daemon__ in the foreground and print large volumes of '.
'diagnostic information to the console.'))
->setArguments(
array(
array(

View file

@ -10,7 +10,10 @@ final class PhabricatorDaemonManagementLaunchWorkflow
public function didConstruct() {
$this
->setName('launch')
->setSynopsis(pht('Show a list of available daemons.'))
->setExamples('**launch** [n] __daemon__ [options]')
->setSynopsis(pht(
'Start a specific __daemon__, or __n__ copies of a specific '.
'__daemon__.'))
->setArguments(
array(
array(

View file

@ -6,7 +6,11 @@ final class PhabricatorDaemonManagementLogWorkflow
public function didConstruct() {
$this
->setName('log')
->setSynopsis(pht('Print the log for a daemon.'))
->setExamples('**log** __id__')
->setSynopsis(
pht(
'Print the log for a daemon, identified by ID. You can get the '.
'ID for a daemon from the Daemon Console in the web interface.'))
->setArguments(
array(
array(