Changeset View
Changeset View
Standalone View
Standalone View
src/toolset/ArcanistWorkflowArgument.php
Show All 35 Lines | if ($this->getWildcard()) { | ||||
$spec['wildcard'] = true; | $spec['wildcard'] = true; | ||||
} | } | ||||
$parameter = $this->getParameter(); | $parameter = $this->getParameter(); | ||||
if ($parameter !== null) { | if ($parameter !== null) { | ||||
$spec['param'] = $parameter; | $spec['param'] = $parameter; | ||||
} | } | ||||
$help = $this->getHelp(); | |||||
if ($help !== null) { | |||||
$spec['help'] = $help; | |||||
} | |||||
return $spec; | return $spec; | ||||
} | } | ||||
public function setHelp($help) { | public function setHelp($help) { | ||||
$this->help = $help; | $this->help = $help; | ||||
return $this; | return $this; | ||||
} | } | ||||
Show All 23 Lines |