diff --git a/docs/api/cli-options.mdx b/docs/api/cli-options.mdx index 85074a4b300c..3f5e442413f2 100644 --- a/docs/api/cli-options.mdx +++ b/docs/api/cli-options.mdx @@ -183,7 +183,7 @@ Options include: | Option | Description | | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `-h`, `--help` | Output usage information.
`storybook upgrade --help` | -| `-c`, `--config-dir` | Storybook configuration directory.
`storybook upgrade --config-dir .storybook` | +| `-c, --config-dir ` | Directory or directories to find Storybook configurations
`storybook upgrade --config-dir .storybook` | | `-n`, `--dry-run` | Checks for version upgrades without installing them.
`storybook upgrade --dry-run` | | `-s`, `--skip-check` | Skips the migration check step during the upgrade process.
`storybook upgrade --skip-check` | | `-y`, `--yes` | Skips interactive prompts and automatically upgrades Storybook to the latest version.
`storybook upgrade --yes` | @@ -192,6 +192,8 @@ Options include: | `--debug` | Outputs more logs in the CLI to assist debugging.
`storybook upgrade --debug` | | `--disable-telemetry` | Disables Storybook's telemetry. Learn more about it [here](../configure/telemetry.mdx#how-to-opt-out).
`storybook upgrade --disable-telemetry` | | `--enable-crash-reports` | Enables sending crash reports to Storybook's telemetry. Learn more about it [here](../configure/telemetry.mdx#crash-reports-disabled-by-default).
`storybook upgrade --enable-crash-reports` | +| `--write-logs` | Write all debug logs to a file at the end of the run.
`storybook upgrade --write-logs` | +| `--loglevel ` | Define log level: `debug`, `error`, `info`, `silent`, `trace`, or `warn` (default: `info`).
`storybook upgrade --loglevel debug` | ### `migrate`