diff options
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r-- | apps/ciphers.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c index 9c494224a1..dcf0d3fa1e 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -174,10 +174,9 @@ int ciphers_main(int argc, char **argv) /* Optional arg is cipher name. */ argv = opt_rest(); - argc = opt_num_rest(); - if (argc == 1) + if (opt_num_rest() == 1) ciphers = argv[0]; - else if (argc != 0) + else if (!opt_check_rest_arg(NULL)) goto opthelp; if (convert != NULL) { |