summaryrefslogtreecommitdiffstats
path: root/apps/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/info.c')
-rw-r--r--apps/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/info.c b/apps/info.c
index c68603652f..befc62dac1 100644
--- a/apps/info.c
+++ b/apps/info.c
@@ -86,7 +86,7 @@ opthelp:
break;
}
}
- if (opt_num_rest() != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
if (dirty > 1) {
BIO_printf(bio_err, "%s: Only one item allowed\n", prog);