From d08e4013359a391821a6fc3a4fcdb528b67382ec Mon Sep 17 00:00:00 2001 From: Maurycy Damian Wasilewski Date: Thu, 2 May 2013 12:02:12 +0200 Subject: [PATCH] Revert "[fix] Make `-v|--version` work. Fixes #303." This reverts commit 1a1ba32dcab559b7c716edf16534fc0481a58e46. --- lib/forever.js | 2 ++ lib/forever/cli.js | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/forever.js b/lib/forever.js index dddc3df8..4f6464d6 100644 --- a/lib/forever.js +++ b/lib/forever.js @@ -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` // diff --git a/lib/forever/cli.js b/lib/forever/cli.js index 01107b20..ca495c14 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -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 //