Skip to content

Commit

Permalink
fix wording and test
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Oct 25, 2024
1 parent 953b076 commit 04692b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('CLI', () => {
});

it('generate mfa totp token', async () => {
const cli = new CLIMock(true)
const cli = new CLIMock()
.stdin(
`step('gen mfa totp', async () => {
const token = mfa.totp('FLIIOLP3IR3W');
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ program
// TOTP command
program
.command('totp <secret>')
.description('Generate a Time-based One-Time token using the secret key')
.description('Generate a Time-based One-Time token using the provided secret.')
.option('--issuer <issuer>', 'Provider or Service the secret is associated with.')
.option('--label <label>', 'Account Identifier (default: SyntheticsTOTP)')
.action((secret, cmdOpts: TOTPCmdOptions) => {
Expand Down

0 comments on commit 04692b7

Please sign in to comment.