Skip to content
This repository
Browse code

[minor] Dont use optimist directly

  • Loading branch information...
commit 2d7d4625b6d7c2d12a64df629f4586bc747d5cb6 1 parent cda371d
Joshua Holbrook authored March 05, 2012 AvianFlu committed March 05, 2012

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. 4  lib/forever/cli.js
4  lib/forever/cli.js
@@ -107,8 +107,6 @@ var actions = [
107 107
   'cleanlogs'
108 108
 ];
109 109
 
110  
-app.config.argv(argvOptions).env();
111  
-
112 110
 var reserved = ['root', 'pidPath'];
113 111
 
114 112
 //
@@ -223,7 +221,7 @@ app.cmd('cleanlogs', cli.cleanLogs = function () {
223 221
 // process.
224 222
 //
225 223
 app.cmd(/start (.+)/, cli.startDaemon = function () {
226  
-  var file = require('optimist').argv._[1],
  224
+  var file = app.argv._[1],
227 225
       options = getOptions(file);
228 226
 
229 227
   forever.log.info('Forever processing file: ' + file.grey);

0 notes on commit 2d7d462

Please sign in to comment.
Something went wrong with that request. Please try again.