aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-01 16:11:18 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-01 16:11:18 -0800
commit68735fae93480a37dbb91d1409685d49eb7a08fe (patch)
treea15b0fc3f6fc73d6c8fa59c54605323043ca7611
parent2f4a7b691ac676b028c7bc94b5974987f1e22046 (diff)
downloadnitrocli-68735fae93480a37dbb91d1409685d49eb7a08fe.tar.gz
nitrocli-68735fae93480a37dbb91d1409685d49eb7a08fe.tar.bz2
Fix documentation for otp clear command
The man page incorrectly documented the otp get command twice. The second occurrence is supposed to detail the otp clear command. This change adjusts the code accordingly.
-rw-r--r--nitrocli/doc/nitrocli.16
1 files changed, 3 insertions, 3 deletions
diff --git a/nitrocli/doc/nitrocli.1 b/nitrocli/doc/nitrocli.1
index bdf9e6b..49d8ab4 100644
--- a/nitrocli/doc/nitrocli.1
+++ b/nitrocli/doc/nitrocli.1
@@ -76,9 +76,9 @@ Allowed values are 6 and 8 (default: 6).
\fIcounter\fR is the initial counter if the HOTP algorithm is used (default: 0).
\fItime window\fR is the time window used with TOTP in seconds (default: 30).
.TP
-\fBnitrocli otp get \fIslot \fR[\fB-a\fR|\fB--algorithm \fIalgorithm\fR]
-Delete the name and the secret stored on a one-time password slot.
-\fIslot\fR is the number of the slot to generate the password on.
+\fBnitrocli otp clear \fIslot \fR[\fB-a\fR|\fB--algorithm \fIalgorithm\fR]
+Delete the name and the secret stored in a one-time password slot.
+\fIslot\fR is the number of the slot to clear.
\fIalgorithm\fR is the OTP algorithm to use.
Possible values are \fBhotp\fR for the HOTP algorithm according to RFC 4226 and
\fBtotp\fR for the TOTP algorithm according to RFC 6238 (default).