From 55863bb2af5a3050f8421ecf1f3abd6d8f344be6 Mon Sep 17 00:00:00 2001 From: jeddy3 Date: Mon, 15 Apr 2019 08:08:21 +0100 Subject: [PATCH] Fix allow-empty-input CLI flag (#4029) --- lib/cli.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index a00537f4b2..d5a8509d17 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -281,11 +281,15 @@ const meowOptions /*: meowOptionsType*/ = { Show the currently installed version of stylelint. - --allow-empty-input + --allow-empty-input, --aei When glob pattern matches no files, the process will exit without throwing an error. `, flags: { + "allow-empty-input": { + alias: "aei", + type: "boolean" + }, cache: { type: "boolean" },