From 1f880106ff02893c2cab278281cf77545455f567 Mon Sep 17 00:00:00 2001 From: Slavik Nychkalo Date: Sun, 5 Aug 2018 04:52:51 +0300 Subject: [PATCH] Restored functionality of the `help` & `version` aliases (#14) * Fixed '-h' parameter that not worked * Fixed '-v' parameter that not worked --- cli.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cli.js b/cli.js index e8c37224..f6ef3d18 100644 --- a/cli.js +++ b/cli.js @@ -8,6 +8,14 @@ const taskbook = require('.'); const cli = meow(help, { flags: { + help: { + type: 'boolean', + alias: 'h' + }, + version: { + type: 'boolean', + alias: 'v' + }, archive: { type: 'boolean', alias: 'a'