diff --git a/lib/forever/cli.js b/lib/forever/cli.js index 7819f206..01107b20 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -54,7 +54,6 @@ var help = [ ' --spinSleepTime Time to wait (millis) between launches of a spinning script.', ' --colors --no-colors will disable output coloring', ' --plain alias of --no-colors', - ' --plain Disable command line colors', ' -d, --debug Forces forever to log debug output', ' -v, --verbose Turns on the verbose messages from Forever', ' -s, --silent Run the child script silencing stdout and stderr', @@ -198,12 +197,12 @@ var getOptions = cli.getOptions = function (file) { [ 'pidFile', 'logFile', 'errFile', 'watch', 'minUptime', 'append', - 'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime', + 'silent', 'outFile', 'max', 'command', 'path', 'spinSleepTime', 'sourceDir', 'uid', 'watchDirectory', 'watchIgnore', 'killTree', 'killSignal' ].forEach(function (key) { options[key] = app.config.get(key); }); - + options.watchIgnore = options.watchIgnore || []; options.watchIgnorePatterns = !Array.isArray(options.watchIgnore) ? options.watchIgnore