diff --git a/packages/docusaurus/bin/docusaurus.mjs b/packages/docusaurus/bin/docusaurus.mjs index 3622f821c9e3..f67687371257 100755 --- a/packages/docusaurus/bin/docusaurus.mjs +++ b/packages/docusaurus/bin/docusaurus.mjs @@ -65,7 +65,7 @@ cli ) .option( '-l, --locale ', - 'build the site in a specified locale. Build all known locales otherwise', + 'build the site in the specified locale(s). Build all known locales otherwise', concatLocaleOptions, ) .option( @@ -111,7 +111,7 @@ cli .description('Deploy website to GitHub pages.') .option( '-l, --locale ', - 'deploy the site in a specified locale. Deploy all known locales otherwise', + 'deploy the site in the specified locale(s). Deploy all known locales otherwise', concatLocaleOptions, ) .option( diff --git a/website/docs/cli.mdx b/website/docs/cli.mdx index 5be24e5191b5..1ec8120b4992 100644 --- a/website/docs/cli.mdx +++ b/website/docs/cli.mdx @@ -90,7 +90,7 @@ Compiles your site for production. | `--bundle-analyzer` | `false` | Analyze your bundle with the [webpack bundle analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). | | `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. | | `--config` | `undefined` | Path to Docusaurus config file, default to `[siteDir]/docusaurus.config.js` | -| `--locale` | | Build the site in the specified locale. If not specified, all known locales are built. | +| `--locale` | | Build the site in the specified locale(s). If not specified, all known locales are built. | | `--no-minify` | `false` | Build website without minimizing JS/CSS bundles. | :::info @@ -141,7 +141,7 @@ Deploys your site with [GitHub Pages](https://pages.github.com/). Check out the | Name | Default | Description | | --- | --- | --- | -| `--locale` | | Deploy the site in the specified locale. If not specified, all known locales are deployed. | +| `--locale` | | Deploy the site in the specified locale(s). If not specified, all known locales are deployed. | | `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. | | `--skip-build` | `false` | Deploy website without building it. This may be useful when using a custom deploy script. | | `--target-dir` | `.` | Path to the target directory to deploy to. |