Skip to content

Commit

Permalink
basic help command support
Browse files Browse the repository at this point in the history
closes #37
  • Loading branch information
bmuenzenmeyer committed Jul 12, 2014
1 parent 891e0cf commit 31b5361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/patternlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var patternlab_engine = function(grunt){
}

function help(){
grunt.log.ok('patternlab help coming soon');
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.');
}

function printDebug() {
Expand Down Expand Up @@ -352,7 +352,7 @@ module.exports = function(grunt) {
patternlab.help();
}

if(arg && (arg !== "v" && arg !=="only_patterns")){
if(arg && (arg !== "v" && arg !=="only_patterns" && arg !=="help")){
patternlab.help();
}

Expand Down

0 comments on commit 31b5361

Please sign in to comment.