From 68735fae93480a37dbb91d1409685d49eb7a08fe Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Tue, 1 Jan 2019 16:11:18 -0800 Subject: 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. --- nitrocli/doc/nitrocli.1 | 6 +++--- 1 file 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). -- cgit v1.2.1