Modification of console.log in grips printHelp

by Julien Etienne

JavaScript

function printHelp() {
  console.log(
  "grips templating engine \n",
  "(c) 2012-2013 Kyle Simpson | http://getify.mit-license.org/ \n",
   "\n",
  "usage: grips opt [, ..opt] \n",
   "\n",
  "options: \n",
  "--help                                    show this help \n",
   "\n",
  "--nodebug                                 use the non-debug library \n",
  "--keep-paths                              for --compile, keep the full path in the collection ID, instead of just the filename \n",
  "--minify                                  minify compiled templates with uglify.js \n",
  "\n",
  "--compile=file                            compile a template file (using {file} as the collection ID) \n",
  "--initialize=file                         initializes an already compiled template collection from a file \n",
  "--render='{collection-ID}#{partial-ID}'   render the specified partial, using data from stdin \n",
  "\n"
  );
}

printHelp();