From 5f5b9939cc3aa0c1476d072fa1ebffefd1a44df3 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 30 Jun 2019 20:09:38 -0500 Subject: [PATCH] fix: make -v an alias for --version --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index fed5312..aaa4e20 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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;