We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda371d commit 2d7d462Copy full SHA for 2d7d462
lib/forever/cli.js
@@ -107,8 +107,6 @@ var actions = [
107
'cleanlogs'
108
];
109
110
-app.config.argv(argvOptions).env();
111
-
112
var reserved = ['root', 'pidPath'];
113
114
//
@@ -223,7 +221,7 @@ app.cmd('cleanlogs', cli.cleanLogs = function () {
223
221
// process.
224
222
225
app.cmd(/start (.+)/, cli.startDaemon = function () {
226
- var file = require('optimist').argv._[1],
+ var file = app.argv._[1],
227
options = getOptions(file);
228
229
forever.log.info('Forever processing file: ' + file.grey);
0 commit comments