Skip to content

Commit

Permalink
Update help message for public-url option (#1846)
Browse files Browse the repository at this point in the history
Just a small documentation change -- as of #1040, the default value for `--public-url` is `/`, not the `--out-dir` option anymore.
  • Loading branch information
patricksmith authored and DeMoorJasper committed Aug 3, 2018
1 parent 56aa0ef commit 19adf69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.js
Expand Up @@ -39,7 +39,7 @@ program
)
.option(
'--public-url <url>',
'set the public URL to serve on. defaults to the same as the --out-dir option'
'set the public URL to serve on. defaults to "/"'
)
.option('--global <variable>', 'expose your module through a global variable')
.option('--no-hmr', 'disable hot module replacement')
Expand Down Expand Up @@ -77,7 +77,7 @@ program
)
.option(
'--public-url <url>',
'set the public URL to serve on. defaults to the same as the --out-dir option'
'set the public URL to serve on. defaults to "/"'
)
.option('--global <variable>', 'expose your module through a global variable')
.option(
Expand Down Expand Up @@ -126,7 +126,7 @@ program
)
.option(
'--public-url <url>',
'set the public URL to serve on. defaults to the same as the --out-dir option'
'set the public URL to serve on. defaults to "/"'
)
.option('--global <variable>', 'expose your module through a global variable')
.option('--no-minify', 'disable minification')
Expand Down

0 comments on commit 19adf69

Please sign in to comment.