From bd6fd4fc3dd1906c9e5d027bb712ebdfe7368d92 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Fri, 10 Dec 2021 17:08:17 +0100 Subject: [PATCH] feat(CLI): Register `-v` as global `--version` alias --- lib/cli/commands-schema/common-options/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/commands-schema/common-options/global.js b/lib/cli/commands-schema/common-options/global.js index 1a2d83796..f53106bda 100644 --- a/lib/cli/commands-schema/common-options/global.js +++ b/lib/cli/commands-schema/common-options/global.js @@ -2,7 +2,7 @@ module.exports = { help: { usage: 'Show this message', shortcut: 'h', type: 'boolean' }, - version: { usage: 'Show version info', type: 'boolean' }, + version: { usage: 'Show version info', shortcut: 'v', type: 'boolean' }, verbose: { usage: 'Show verbose logs', type: 'boolean' }, debug: { usage: 'Namespace of debug logs to expose (use "*" to display all)', type: 'string' }, };