Skip to content

Commit 2819008

Browse files
committed
Document interactive mode for otp command
1 parent c7ce86f commit 2819008

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

man/man1/akt.1

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\"
22
.\"
3-
.TH AKT 1 "Mar 25, 2023" "Ada Keystore Tool"
3+
.TH AKT 1 "Apr 2, 2023" "Ada Keystore Tool"
44
.SH NAME
55
akt - Tool to protect your sensitive data with secure storage
66
.SH SYNOPSIS
@@ -419,9 +419,11 @@ option prevents the output of the trailing newline.
419419
.SS The otp command
420420
.RS 0
421421
.nf
422-
akt \fBotp \fIkeystore.akt\fR \fIname\fR\fR
422+
akt \fBotp \fIkeystore.akt\fR [--interactive] [--force]\fR
423+
.nf
424+
akt \fBotp \fIkeystore.akt\fR [--remove] \fIname\fR\fR
423425
.br
424-
akt \fBotp \fIkeystore.akt\fR otpauth://totp/\fIaccount\fR?secret=\fIsecret\fR&issuer=\fIissuer\fR\fR
426+
akt \fBotp \fIkeystore.akt\fR [--force] otpauth://totp/\fIaccount\fR?secret=\fIsecret\fR&issuer=\fIissuer\fR\fR
425427
.fi
426428
.RE
427429
.PP
@@ -432,7 +434,12 @@ generation for a two factor authentication. When an otpauth://totp/ string is g
432434
is extracted and it is inserted in the wallet. When an account name
433435
or issuer name is given, the command uses the secret to generate
434436
the 6 digit codes for the authentication. When no parameter are given
435-
the command gives a list of known otpauth URI.
437+
the command gives a list of known otpauth URI. The
438+
.I --interactive
439+
option can be used to let the command ask several questions to enter the different fields separately.
440+
The
441+
.I --force
442+
option can be used to force the update of the otpauth URI.
436443
.\"
437444
.\"
438445
.SS The password-add command

0 commit comments

Comments
 (0)