Skip to content

Commit 31b5361

Browse files
committed
basic help command support
closes #37
1 parent 891e0cf commit 31b5361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/patternlab.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var patternlab_engine = function(grunt){
2323
}
2424

2525
function help(){
26-
grunt.log.ok('patternlab help coming soon');
26+
grunt.log.ok('patternlab-node help coming soon \n Until then, visit http://patternlab.io/docs/index.html for general help on pattern-lab \n Visit https://github.com/pattern-lab/patternlab-node/issues to open a bug.');
2727
}
2828

2929
function printDebug() {
@@ -352,7 +352,7 @@ module.exports = function(grunt) {
352352
patternlab.help();
353353
}
354354

355-
if(arg && (arg !== "v" && arg !=="only_patterns")){
355+
if(arg && (arg !== "v" && arg !=="only_patterns" && arg !=="help")){
356356
patternlab.help();
357357
}
358358

0 commit comments

Comments
 (0)