Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 6fe633d

Browse files
committed
renamed setCommandExample to setCommandSample
1 parent d58e2fb commit 6fe633d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/lib/PatternLab/Console.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ public function setCommand($short,$long,$desc,$help) {
102102
}
103103

104104
/**
105-
* Set-up an option for a given command so it can be used from the command line
105+
* Set a sample for a specific command
106106
* @param {String} the single character of the command that this option is related to
107107
* @param {String} the sample to be used in the "sample" section of writeHelpCommand()
108108
* @param {String} the extra info to be used in the example command for the "sample" section of writeHelpCommand()
109109
*/
110-
public function setCommandExample($command,$sample,$extra) {
110+
public function setCommandSample($command,$sample,$extra) {
111111
$this->commands[$command]["commandExamples"][] = array("exampleSample" => $sample, "exampleExtra" => $extra);
112112
}
113113

0 commit comments

Comments
 (0)