1
0
Fork 0

fix: make -v an alias for --version

This commit is contained in:
ssube 2019-06-30 20:09:38 -05:00
parent c8a0a0c688
commit 5f5b9939cc
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ const MAIN_ARGS = usage(`Usage: salty-dog [-m mode] [options]`)
alias: ['t', 'tag'],
})
.help()
.version(VERSION_INFO.app.version);
.version(VERSION_INFO.app.version)
.alias('version', 'v');
const STATUS_SUCCESS = 0;
const STATUS_ERROR = 1;