Skip to content

Commit

Permalink
chore: update usage info for subcommands (#2086)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Nov 9, 2020
1 parent cd09f85 commit 3965dcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/webpack-cli/lib/utils/cli-flags.js
Expand Up @@ -12,7 +12,7 @@ const commands = [
name: 'init',
alias: 'c',
type: String,
usage: 'init [scaffold]',
usage: 'init [scaffold] [options]',
description: 'Initialize a new webpack configuration',
flags: [
{
Expand Down Expand Up @@ -44,15 +44,15 @@ const commands = [
scope: 'external',
alias: 'l',
type: String,
usage: 'loader',
usage: 'loader [path]',
description: 'Scaffold a loader repository',
},
{
name: 'plugin',
alias: 'p',
scope: 'external',
type: String,
usage: 'plugin',
usage: 'plugin [path]',
description: 'Scaffold a plugin repository',
},
{
Expand Down Expand Up @@ -80,7 +80,7 @@ const commands = [
alias: 's',
scope: 'external',
type: String,
usage: 'serve',
usage: 'serve [options]',
description: 'Run the webpack Dev Server',
},
];
Expand Down

0 comments on commit 3965dcb

Please sign in to comment.