Browse files

[dist] Better this way

  • Loading branch information...
1 parent a6bdd9b commit f4056e43dae70891cb2f1286a9f7bf0b23edfa11 @alejandro alejandro committed Jun 26, 2012
Showing with 8 additions and 2 deletions.
  1. +8 −2 lib/commands.js
View
10 lib/commands.js
@@ -169,13 +169,19 @@ function showHelp (args) {
if (args && cmds[args[0]] && (cmds[args[0]].usage || cmds[args[0]].run)) {
cmds[args[0]].usage();
} else {
- log.info('showing all available sub commands:');
+ log.info('');
+ log.info(' \t\t\tNodester'.bold.yellow);
+ log.info(' Open Source Node.js Hosting Platform.')
+ log.info(' showing all available commands:');
+ log.info('')
for (var i in cmds) {
if (cmds[i].usage) {
- log.plain( ' λ ' + process.nodester.brand.grey + ' ' + i);
+ log.info('\t' + process.nodester.brand.grey + ' ' + i);
}
}
+ log.info('')
log.info('For more help, type', cfg.brand, 'help <command>');
+ log.info('ok!'.green);
}
}

0 comments on commit f4056e4

Please sign in to comment.