aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/otputil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/otputil.c')
-rw-r--r--src/otputil.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/otputil.c b/src/otputil.c
index 134f2e2..628fdf6 100644
--- a/src/otputil.c
+++ b/src/otputil.c
@@ -177,6 +177,16 @@ static otputil_widget_t otputil_widget_map[] =
177 .func_exec = &otputil_widget_hotp, 177 .func_exec = &otputil_widget_hotp,
178 .func_usage = NULL, 178 .func_usage = NULL,
179 }, 179 },
180 { .name = "hotp-sha1",
181 .desc = NULL,
182 .usage = " [ code ]",
183 .short_opt = (TOTP_SHORT_OPT "c:d:k:O:o"),
184 .arg_min = 0,
185 .arg_max = 1,
186 .aliases = (const char *[]){ "hotp-sha256", "hotp-sha512", NULL },
187 .func_exec = &otputil_widget_hotp,
188 .func_usage = NULL,
189 },
180 190
181 // OTP widget and aliases 191 // OTP widget and aliases
182 { .name = "otp", 192 { .name = "otp",