diff options
Diffstat (limited to 'src/otputil.c')
| -rw-r--r-- | src/otputil.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/otputil.c b/src/otputil.c index 7f2ca4d..134f2e2 100644 --- a/src/otputil.c +++ b/src/otputil.c | |||
| @@ -233,6 +233,16 @@ static otputil_widget_t otputil_widget_map[] = | |||
| 233 | .func_exec = &otputil_widget_totp, | 233 | .func_exec = &otputil_widget_totp, |
| 234 | .func_usage = NULL, | 234 | .func_usage = NULL, |
| 235 | }, | 235 | }, |
| 236 | { .name = "totp-sha1", | ||
| 237 | .desc = NULL, | ||
| 238 | .usage = " [ code ]", | ||
| 239 | .short_opt = (TOTP_SHORT_OPT "d:k:O:oT:t:x:"), | ||
| 240 | .arg_min = 0, | ||
| 241 | .arg_max = 1, | ||
| 242 | .aliases = (const char *[]){ "totp-sha256", "totp-sha512", NULL }, | ||
| 243 | .func_exec = &otputil_widget_totp, | ||
| 244 | .func_usage = NULL, | ||
| 245 | }, | ||
| 236 | 246 | ||
| 237 | // version widget | 247 | // version widget |
| 238 | { .name = "version", | 248 | { .name = "version", |
