fix: make -v an alias for --version
This commit is contained in:
parent
c8a0a0c688
commit
5f5b9939cc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue