diff options
Diffstat (limited to 'src/otputil.c')
| -rw-r--r-- | src/otputil.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/otputil.c b/src/otputil.c index d4a6f04..8d30234 100644 --- a/src/otputil.c +++ b/src/otputil.c | |||
| @@ -342,6 +342,12 @@ otputil_arguments( | |||
| 342 | fprintf(stderr, "Try `%s --help' for more information.\n", PROGRAM_NAME); | 342 | fprintf(stderr, "Try `%s --help' for more information.\n", PROGRAM_NAME); |
| 343 | return(1); | 343 | return(1); |
| 344 | }; | 344 | }; |
| 345 | if (otputil_set_param(NULL, OTPUTIL_OPT_TOTP_KSTR, optarg) != 0) | ||
| 346 | { | ||
| 347 | fprintf(stderr, "%s: invalid value for `-k'\n", PROGRAM_NAME); | ||
| 348 | fprintf(stderr, "Try `%s --help' for more information.\n", PROGRAM_NAME); | ||
| 349 | return(1); | ||
| 350 | }; | ||
| 345 | break; | 351 | break; |
| 346 | 352 | ||
| 347 | case 'm': | 353 | case 'm': |
