We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37f3a6f commit 0594717Copy full SHA for 0594717
src/commands/pw.ts
@@ -25,7 +25,7 @@ export function builder(yargs: Argv<PwArgvOptions>): Argv<PwHandlerOptions> {
25
.positional('password', {
26
type: 'string',
27
})
28
- .demand('password')
+ .demandOption('password')
29
.check((argv) => {
30
if (!argv.password.length) {
31
throw new Error('The password argument must not be empty.');
src/commands/search.ts
@@ -35,7 +35,7 @@ export function builder(
35
alias: 'email',
36
37
38
- .demand('account')
+ .demandOption('account')
39
40
if (!argv.account.length) {
41
throw new Error('The account argument must not be empty.');
0 commit comments