diff options
Diffstat (limited to 'src/otputil.c')
| -rw-r--r-- | src/otputil.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/otputil.c b/src/otputil.c index c3065df..fac63f2 100644 --- a/src/otputil.c +++ b/src/otputil.c | |||
| @@ -174,40 +174,40 @@ static otputil_widget_t otputil_widget_map[] = | |||
| 174 | }, | 174 | }, |
| 175 | { .name = "otp", | 175 | { .name = "otp", |
| 176 | .desc = "otp tools (RFC 2289)", | 176 | .desc = "otp tools (RFC 2289)", |
| 177 | .usage = " [ sequence ] seed ]", | 177 | .usage = " [ sequence [ seed [ code ]]]", |
| 178 | .short_opt = (TOTP_SHORT_OPT "c:m:O:oP:ps:"), | 178 | .short_opt = (TOTP_SHORT_OPT "c:m:O:oP:ps:"), |
| 179 | .arg_min = 0, | 179 | .arg_min = 0, |
| 180 | .arg_max = 2, | 180 | .arg_max = 3, |
| 181 | .aliases = NULL, | 181 | .aliases = NULL, |
| 182 | .func_exec = &otputil_widget_otp, | 182 | .func_exec = &otputil_widget_otp, |
| 183 | .func_usage = &otputil_widget_otp_usage, | 183 | .func_usage = &otputil_widget_otp_usage, |
| 184 | }, | 184 | }, |
| 185 | { .name = "otp-md4", | 185 | { .name = "otp-md4", |
| 186 | .desc = "otp alias for MD4", | 186 | .desc = "otp alias for MD4", |
| 187 | .usage = " [ sequence ] seed ]", | 187 | .usage = " [ sequence [ seed [ code ]]]", |
| 188 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), | 188 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), |
| 189 | .arg_min = 0, | 189 | .arg_min = 0, |
| 190 | .arg_max = 2, | 190 | .arg_max = 3, |
| 191 | .aliases = NULL, | 191 | .aliases = NULL, |
| 192 | .func_exec = &otputil_widget_otp_md4, | 192 | .func_exec = &otputil_widget_otp_md4, |
| 193 | .func_usage = NULL, | 193 | .func_usage = NULL, |
| 194 | }, | 194 | }, |
| 195 | { .name = "otp-md5", | 195 | { .name = "otp-md5", |
| 196 | .desc = "otp alias for MD5", | 196 | .desc = "otp alias for MD5", |
| 197 | .usage = " [ sequence ] seed ]", | 197 | .usage = " [ sequence [ seed [ code ]]]", |
| 198 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), | 198 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), |
| 199 | .arg_min = 0, | 199 | .arg_min = 0, |
| 200 | .arg_max = 2, | 200 | .arg_max = 3, |
| 201 | .aliases = NULL, | 201 | .aliases = NULL, |
| 202 | .func_exec = &otputil_widget_otp_md5, | 202 | .func_exec = &otputil_widget_otp_md5, |
| 203 | .func_usage = NULL, | 203 | .func_usage = NULL, |
| 204 | }, | 204 | }, |
| 205 | { .name = "otp-sha1", | 205 | { .name = "otp-sha1", |
| 206 | .desc = "otp alias for SHA1", | 206 | .desc = "otp alias for SHA1", |
| 207 | .usage = " [ sequence ] seed ]", | 207 | .usage = " [ sequence [ seed [ code ]]]", |
| 208 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), | 208 | .short_opt = (TOTP_SHORT_OPT "c:O:oP:ps:"), |
| 209 | .arg_min = 0, | 209 | .arg_min = 0, |
| 210 | .arg_max = 2, | 210 | .arg_max = 3, |
| 211 | .aliases = NULL, | 211 | .aliases = NULL, |
| 212 | .func_exec = &otputil_widget_otp_sha1, | 212 | .func_exec = &otputil_widget_otp_sha1, |
| 213 | .func_usage = NULL, | 213 | .func_usage = NULL, |
