From 6ba4096ee54e8dd9dc36138f2ff85e6b0a963c07 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Fri, 19 Feb 2021 08:16:24 +0530 Subject: [PATCH] fix: improve descriptions for negative flags --- bin/cli-flags.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cli-flags.js b/bin/cli-flags.js index 7b40966b56..58b4ae4fb1 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -23,6 +23,7 @@ module.exports = { name: 'live-reload', type: Boolean, description: 'Enables live reloading on changing files.', + negatedDescription: 'Disables live reloading on changing files.', negative: true, }, { @@ -63,6 +64,7 @@ module.exports = { name: 'setup-exit-signals', type: Boolean, description: 'Close and exit the process on SIGINT and SIGTERM.', + negatedDescription: 'Do not close and exit the process on SIGNIT and SIGTERM.', negative: true, }, {