Skip to content

Commit 4cb26b1

Browse files
authored
refactor: rename CLI flags
1 parent 6b667b4 commit 4cb26b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bin/cli-flags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
describe: 'Broadcasts the server via ZeroConf networking on start',
1616
},
1717
{
18-
name: 'liveReload',
18+
name: 'live-reload',
1919
type: Boolean,
2020
defaultValue: true,
2121
describe: 'Enables/Disables live reloading on changing files',
@@ -55,7 +55,7 @@ module.exports = {
5555
'Open the default browser, or optionally specify a browser name',
5656
},
5757
{
58-
name: 'useLocalIp',
58+
name: 'use-local-ip',
5959
type: Boolean,
6060
describe: 'Open default browser with local IP',
6161
},

bin/options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const options = {
1616
type: 'boolean',
1717
describe: 'Broadcasts the server via ZeroConf networking on start',
1818
},
19-
liveReload: {
19+
'live-reload': {
2020
type: 'boolean',
2121
describe: 'Enables/Disables live reloading on changing files',
2222
default: true,
@@ -53,7 +53,7 @@ const options = {
5353
type: 'string',
5454
describe: 'Open the default browser, or optionally specify a browser name',
5555
},
56-
useLocalIp: {
56+
'use-local-ip': {
5757
type: 'boolean',
5858
describe: 'Open default browser with local IP',
5959
},

0 commit comments

Comments
 (0)