Skip to content

Commit

Permalink
feat: add more negative flags
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 8, 2021
1 parent 09eab84 commit 4378c0e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/cli-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@ module.exports = {
name: 'https',
type: Boolean,
description: 'Use HTTPS protocol.',
negatedDescription: 'Do not use HTTPS protocol.',
negative: true,
},
{
name: 'http2',
type: Boolean,
description: 'Use HTTP/2, must be used with HTTPS.',
negatedDescription: 'Do not use HTTP/2.',
negative: true,
},
{
name: 'bonjour',
Expand Down Expand Up @@ -105,11 +109,16 @@ module.exports = {
name: 'history-api-fallback',
type: Boolean,
description: 'Fallback to /index.html for Single Page Applications.',
negatedDescription:
'Do not fallback to /index.html for Single Page Applications.',
negative: true,
},
{
name: 'compress',
type: Boolean,
description: 'Enable gzip compression.',
negatedDescription: 'Disable gzip compression.',
negative: true,
},
{
name: 'public',
Expand Down

0 comments on commit 4378c0e

Please sign in to comment.