Skip to content

Commit

Permalink
fix(cli): Fix example in help
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Feb 28, 2016
1 parent b90911c commit 579f8f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var _isEmpty2 = _interopRequireDefault(_isEmpty);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var cli = (0, _meow2.default)({
help: [_chalk2.default.green('Usage'), ' $ aik filename.js', '', _chalk2.default.green('Options'), ' ' + _chalk2.default.yellow('-p, --port') + ' Web server port. ' + _chalk2.default.dim('[Default: 8080]'), ' ' + _chalk2.default.yellow('-h, --host') + ' Web server host. ' + _chalk2.default.dim('[Default: localhost]'), ' ' + _chalk2.default.yellow('-n, --ngrok') + ' Exposes server to real world by ngrok.', ' ' + _chalk2.default.yellow('-c, --cssmodules') + ' Enables css modules.', ' ' + _chalk2.default.yellow('--help') + ' Shows help.', '', _chalk2.default.green('Examples'), ' $ aik filename.js --port 3000 -n -cm', _chalk2.default.dim(' Runs aik web server on 3000 port with ngrok and css modules support')]
help: [_chalk2.default.green('Usage'), ' $ aik filename.js', '', _chalk2.default.green('Options'), ' ' + _chalk2.default.yellow('-p, --port') + ' Web server port. ' + _chalk2.default.dim('[Default: 8080]'), ' ' + _chalk2.default.yellow('-h, --host') + ' Web server host. ' + _chalk2.default.dim('[Default: localhost]'), ' ' + _chalk2.default.yellow('-n, --ngrok') + ' Exposes server to real world by ngrok.', ' ' + _chalk2.default.yellow('-c, --cssmodules') + ' Enables css modules.', ' ' + _chalk2.default.yellow('--help') + ' Shows help.', '', _chalk2.default.green('Examples'), ' $ aik filename.js --port 3000 -n -c', _chalk2.default.dim(' Runs aik web server on 3000 port with ngrok and css modules support')]
}, {
alias: {
p: 'port',
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const cli = meow({
` ${chalk.yellow('--help')} Shows help.`,
'',
chalk.green('Examples'),
' $ aik filename.js --port 3000 -n -cm',
' $ aik filename.js --port 3000 -n -c',
chalk.dim(' Runs aik web server on 3000 port with ngrok and css modules support')
]
}, {
Expand Down

0 comments on commit 579f8f8

Please sign in to comment.