Skip to content

Commit

Permalink
Fix flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Mar 28, 2023
1 parent 423871c commit 5feafad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/core/dev/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export default async function dev(
['--port', `Specify which port to run on. Defaults to 3000.`],
['--host', `Listen on all addresses, including LAN and public addresses.`],
['--host <custom-address>', `Expose on a network IP address at <custom-address>`],
['--open', 'Automatically open the app in the browser on server start'],
['--help (-h)', 'See all available flags.'],
['--open (-h)', 'Automatically open the app in the browser on server start'],
],
},
description: `Check ${cyan(
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/core/preview/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default async function preview(
usage: '[...flags]',
tables: {
Flags: [
['--open', 'Automatically open the app in the browser on server start'],
['--help (-h)', 'See all available flags.'],
['--open (-h)', 'Automatically open the app in the browser on server start'],
],
},
description: `Starts a local server to serve your static dist/ directory. Check ${cyan(
Expand Down

0 comments on commit 5feafad

Please sign in to comment.