Skip to content

Commit

Permalink
fixed wrong version number in commander
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogs committed Feb 11, 2017
1 parent bd13b2a commit 9df33f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/easyvpn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

'use strict';

const pckage = require('../package.json');
const program = require('commander');

function list(val) {
Expand All @@ -10,7 +11,7 @@ function list(val) {
}

program
.version('1.1.3')
.version(pckage.version)
.option('-c, --country <name>', 'Country name')
.option('-q, --query', 'Enable country query')
.option('-p, --proxy <url>', 'Proxy url')
Expand Down

0 comments on commit 9df33f6

Please sign in to comment.