Skip to content

Commit

Permalink
fix: update usage of flags with multiple types (#2195)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Dec 7, 2020
1 parent b8ff422 commit a050109
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/webpack-cli/lib/utils/cli-flags.js
Expand Up @@ -142,7 +142,7 @@ const builtInFlags = [
},
{
name: 'progress',
usage: '--progress',
usage: '--progress | --progress profile',
type: [Boolean, String],
description: 'Print compilation progress during build',
},
Expand Down Expand Up @@ -172,7 +172,7 @@ const builtInFlags = [
// Output options
{
name: 'json',
usage: '--json',
usage: '--json | --json <path-to-stats-file>',
type: [String, Boolean],
alias: 'j',
description: 'Prints result as JSON or store it in a file',
Expand Down Expand Up @@ -238,7 +238,7 @@ const builtInFlags = [
},
{
name: 'stats',
usage: '--stats <value>',
usage: '--stats | --stats <value>',
type: [String, Boolean],
negative: true,
description: 'It instructs webpack on how to treat the stats e.g. verbose',
Expand Down

0 comments on commit a050109

Please sign in to comment.