Skip to content

Commit 6ba4096

Browse files
committed
fix: improve descriptions for negative flags
1 parent 73dfebc commit 6ba4096

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/cli-flags.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
name: 'live-reload',
2424
type: Boolean,
2525
description: 'Enables live reloading on changing files.',
26+
negatedDescription: 'Disables live reloading on changing files.',
2627
negative: true,
2728
},
2829
{
@@ -63,6 +64,7 @@ module.exports = {
6364
name: 'setup-exit-signals',
6465
type: Boolean,
6566
description: 'Close and exit the process on SIGINT and SIGTERM.',
67+
negatedDescription: 'Do not close and exit the process on SIGNIT and SIGTERM.',
6668
negative: true,
6769
},
6870
{

0 commit comments

Comments
 (0)