From 3965dcb49a6dc751962248d8f0c1229593774a58 Mon Sep 17 00:00:00 2001 From: James George Date: Mon, 9 Nov 2020 23:52:52 +0530 Subject: [PATCH] chore: update usage info for subcommands (#2086) --- packages/webpack-cli/lib/utils/cli-flags.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/webpack-cli/lib/utils/cli-flags.js b/packages/webpack-cli/lib/utils/cli-flags.js index 4d0120f817b..9da24fd3a1c 100644 --- a/packages/webpack-cli/lib/utils/cli-flags.js +++ b/packages/webpack-cli/lib/utils/cli-flags.js @@ -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: [ { @@ -44,7 +44,7 @@ const commands = [ scope: 'external', alias: 'l', type: String, - usage: 'loader', + usage: 'loader [path]', description: 'Scaffold a loader repository', }, { @@ -52,7 +52,7 @@ const commands = [ alias: 'p', scope: 'external', type: String, - usage: 'plugin', + usage: 'plugin [path]', description: 'Scaffold a plugin repository', }, { @@ -80,7 +80,7 @@ const commands = [ alias: 's', scope: 'external', type: String, - usage: 'serve', + usage: 'serve [options]', description: 'Run the webpack Dev Server', }, ];