From 9df33f655e313b93eb4eb5db4ebf76e1a31a664d Mon Sep 17 00:00:00 2001 From: Rodrigo Gomes da Silva Date: Sat, 11 Feb 2017 15:36:04 -0200 Subject: [PATCH] fixed wrong version number in commander --- bin/easyvpn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/easyvpn b/bin/easyvpn index 25be365..e1f177c 100644 --- a/bin/easyvpn +++ b/bin/easyvpn @@ -2,6 +2,7 @@ 'use strict'; +const pckage = require('../package.json'); const program = require('commander'); function list(val) { @@ -10,7 +11,7 @@ function list(val) { } program - .version('1.1.3') + .version(pckage.version) .option('-c, --country ', 'Country name') .option('-q, --query', 'Enable country query') .option('-p, --proxy ', 'Proxy url')