Skip to content

Commit

Permalink
Revert "[fix] Make -v|--version work. Fixes foreversd#303."
Browse files Browse the repository at this point in the history
This reverts commit 1a1ba32.
  • Loading branch information
meeDamian committed May 2, 2013
1 parent 22a3923 commit d08e401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions lib/forever.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ forever.Forever = forever.Monitor = require('forever-monitor').Monitor;
forever.Worker = require('./forever/worker').Worker;
forever.cli = require('./forever/cli');



//
// Expose version through `pkginfo`
//
Expand Down
4 changes: 0 additions & 4 deletions lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,6 @@ cli.run = function () {
};

cli.start = function () {
if (app.argv.v || app.argv.version) {
return console.log('v' + forever.version);
}

//
// Check for --no-colors/--colors and --plain option
//
Expand Down

0 comments on commit d08e401

Please sign in to comment.