aboutsummaryrefslogtreecommitdiff
path: root/apps/nseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nseq.c')
-rw-r--r--apps/nseq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/nseq.c b/apps/nseq.c
index d5524370f26c..e66b58d95705 100644
--- a/apps/nseq.c
+++ b/apps/nseq.c
@@ -73,8 +73,7 @@ int nseq_main(int argc, char **argv)
}
/* No extra arguments. */
- argc = opt_num_rest();
- if (argc != 0)
+ if (!opt_check_rest_arg(NULL))
goto opthelp;
in = bio_open_default(infile, 'r', FORMAT_PEM);