Permalink
Browse files

Adding tabs on the begining of command line options descriptions to a…

…lign them nicely during console output.
  • Loading branch information...
1 parent 95cf157 commit 9f72034439ef9c96f435fdf054fea358f544692a @shytikov shytikov committed Jul 25, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/jison/cli-wrapper.js
View
@@ -7,11 +7,11 @@ var JISON = require('../jison'),
var opts = [
{ name: 'file',
position: 0,
- help: 'Grammar file'
+ help: '\t\t\tGrammar file'
},
{ name: 'lexfile',
position: 1,
- help: 'Lexical grammar file (optional)'
+ help: '\t\tLexical grammar file (optional)'
},
{ name: 'outfile',
string: '-o FILE, --output-file=FILE',
@@ -20,16 +20,16 @@ var opts = [
{ name: 'debug',
string: '-t, --debug',
"default": false,
- help: 'Use debug mode'
+ help: '\t\tUse debug mode'
},
{ name: 'moduleType',
string: '-m, --module-type',
"default": "commonjs",
- help: 'The type of module to generate (commonjs, amd, js)'
+ help: '\tThe type of module to generate (commonjs, amd, js)'
},
{ name: 'version',
string: '-V, --version',
- help: 'Version number'
+ help: '\t\tVersion number'
}
];

0 comments on commit 9f72034

Please sign in to comment.