fix version return

This commit is contained in:
2016-06-10 04:32:11 +02:00
parent d65061aaaa
commit 5ee866d9c6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -47,7 +47,7 @@ export class Smartcli {
let done = plugins.q.defer();
this.parseStarted.promise
.then(() => {
if(this.argv._.length == 0 || !this.argv.v){
if(this.argv._.length == 0 && !this.argv.v){
done.resolve();
} else {
done.reject();