Skip to content

Commit

Permalink
fix: improve descriptions for negative flags
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Feb 19, 2021
1 parent 73dfebc commit 6ba4096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/cli-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 6ba4096

Please sign in to comment.