Add --no-colors options to the help templates, add missing --no-colors to the uninstall.

This commit is contained in:
André Cruz
2012-10-15 01:43:30 +01:00
parent a403585e1e
commit c589625b01
10 changed files with 30 additions and 1 deletions

View File

@@ -74,6 +74,9 @@ module.exports = function (names, options) {
module.exports.line = function (argv) {
var options = nopt(optionTypes, shorthand, argv);
if (options.colors != null) template.showColors(options.colors);
if (options.help) return help('uninstall');
var names = options.argv.remain.slice(1);