add --no-color option (this comes from the colors module)
diff --git a/client/wskdb.js b/client/wskdb.js
index fad435e..3b129b6 100644
--- a/client/wskdb.js
+++ b/client/wskdb.js
@@ -16,7 +16,8 @@
};
var commandLineOptionsConfig = [
- {name: 'use-cli-debugger', short: 'c', type: 'string', description: 'Favor the CLI for debug sessions over a GUI'}
+ {name: 'use-cli-debugger', short: 'c', type: 'string', description: 'Favor the CLI for debug sessions over a GUI'},
+ {name: 'no-color', type: 'string', description: 'Avoid using console colors'} // this comes from the colors module
];
var commandLineOptions = argv
.option(commandLineOptionsConfig)
@@ -30,7 +31,7 @@
if (commandLineOptions) {
for (var x in commandLineOptions) {
- console.log(' + ' + commandLineOptionsConfig.find((o) => o.name == x).description);
+ console.log((' + ' + commandLineOptionsConfig.find((o) => o.name == x).description).dim);
}
}
console.log();