mirror of
https://github.com/pattern-lab/patternlab-php.git
synced 2025-01-17 22:29:12 +01:00
renamed setCommandExample to setCommandSample
This commit is contained in:
parent
d58e2fb205
commit
6fe633d943
@ -102,12 +102,12 @@ class Console {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set-up an option for a given command so it can be used from the command line
|
||||
* Set a sample for a specific command
|
||||
* @param {String} the single character of the command that this option is related to
|
||||
* @param {String} the sample to be used in the "sample" section of writeHelpCommand()
|
||||
* @param {String} the extra info to be used in the example command for the "sample" section of writeHelpCommand()
|
||||
*/
|
||||
public function setCommandExample($command,$sample,$extra) {
|
||||
public function setCommandSample($command,$sample,$extra) {
|
||||
$this->commands[$command]["commandExamples"][] = array("exampleSample" => $sample, "exampleExtra" => $extra);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user