Skip to content

Commit e79c9b2

Browse files
Merge pull request #33013 from nnt1054/patch-1
Docs: Fixing `--exact-port` CLI Options Documentation
2 parents 285c3d7 + 0c0280a commit e79c9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/cli-options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Options include:
3939
| `--help` | Output usage information.<br />`storybook dev --help` |
4040
| `-V`, `--version` | Output the version number.<br />`storybook dev -V` |
4141
| `-p`, `--port [number]` | Port to run Storybook.<br />`storybook dev -p 9009` |
42-
| `--exact-port [number]` | Attempts to run Storybook on the exact port number specified.<br />If the port is already in use, Storybook will exit with an error message.<br />`storybook dev --exact-port 9009` |
42+
| `--exact-port` | Attempts to run Storybook on the exact port number specified.<br />If the port is already in use, Storybook will exit with an error message.<br />`storybook dev -p 9009 --exact-port` |
4343
| `-h`, `--host [string]` | Host to run Storybook.<br />`storybook dev -h my-host.com` |
4444
| `-c`, `--config-dir [dir-name]` | Storybook configuration directory.<br />`storybook dev -c .storybook` |
4545
| `--loglevel [level]` | Controls level of logging during build.<br />Available options: `silly`, `verbose`, `info` (default), `warn`, `error`, `silent`<br />`storybook dev --loglevel warn` |

0 commit comments

Comments
 (0)