Skip to content

Commit d72e81e

Browse files
authored
refactor: cli flags (#3107)
1 parent f66edf2 commit d72e81e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

bin/cli-flags.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ module.exports = {
7878
type: Boolean,
7979
configs: [
8080
{
81-
type: 'boolean',
81+
type: 'enum',
82+
values: [true],
8283
},
8384
],
8485
description: 'Broadcasts the server via ZeroConf networking on start.',
@@ -88,7 +89,8 @@ module.exports = {
8889
type: Boolean,
8990
configs: [
9091
{
91-
type: 'boolean',
92+
type: 'enum',
93+
values: [true],
9294
},
9395
],
9496
description: 'Print compilation progress in percentage in the browser.',
@@ -116,7 +118,8 @@ module.exports = {
116118
type: [Boolean, String],
117119
configs: [
118120
{
119-
type: 'boolean',
121+
type: 'enum',
122+
values: [true],
120123
},
121124
{
122125
type: 'string',

0 commit comments

Comments
 (0)