diff --git a/packages/docusaurus/bin/docusaurus.mjs b/packages/docusaurus/bin/docusaurus.mjs
index 7fa94561c091..7429f4f4156e 100755
--- a/packages/docusaurus/bin/docusaurus.mjs
+++ b/packages/docusaurus/bin/docusaurus.mjs
@@ -117,7 +117,7 @@ cli
)
.option(
'--target-dir
',
- 'path to the target directory to deploy (default: `.`)',
+ 'path to the target directory to deploy to (default: `.`)',
)
.action(deploy);
diff --git a/website/docs/cli.mdx b/website/docs/cli.mdx
index 369779788afa..5be24e5191b5 100644
--- a/website/docs/cli.mdx
+++ b/website/docs/cli.mdx
@@ -144,6 +144,7 @@ Deploys your site with [GitHub Pages](https://pages.github.com/). Check out the
| `--locale` | | Deploy the site in the specified locale. 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. |
| `--config` | `undefined` | Path to Docusaurus config file, default to `[siteDir]/docusaurus.config.js` |
### `docusaurus serve [siteDir]` {#docusaurus-serve-sitedir}