Skip to content

Commit 629aa14

Browse files
authored
fix: Move filename from global to build command option (#2178)
1 parent 0835252 commit 629aa14

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/program.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -484,18 +484,6 @@ Example: $0 --help run.
484484
default: true,
485485
type: 'boolean',
486486
},
487-
'filename': {
488-
alias: 'n',
489-
describe: 'Name of the created extension package file.',
490-
default: undefined,
491-
normalize: false,
492-
demandOption: false,
493-
requiresArg: true,
494-
type: 'string',
495-
coerce: throwUsageErrorIfArray(
496-
'Multiple --filename/-n option are not allowed'
497-
),
498-
},
499487
});
500488

501489
program
@@ -507,6 +495,18 @@ Example: $0 --help run.
507495
describe: 'Watch for file changes and re-build as needed',
508496
type: 'boolean',
509497
},
498+
'filename': {
499+
alias: 'n',
500+
describe: 'Name of the created extension package file.',
501+
default: undefined,
502+
normalize: false,
503+
demandOption: false,
504+
requiresArg: true,
505+
type: 'string',
506+
coerce: throwUsageErrorIfArray(
507+
'Multiple --filename/-n option are not allowed'
508+
),
509+
},
510510
'overwrite-dest': {
511511
alias: 'o',
512512
describe: 'Overwrite destination package if it exists.',

0 commit comments

Comments
 (0)