summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.c b/main.c
index 32bead31..87afb45e 100644
--- a/main.c
+++ b/main.c
@@ -309,9 +309,10 @@ main(int argc, char *argv[])
argv = help_argv;
argc = 1;
}
- } else if (argv[0] != NULL &&
- isdigit((unsigned char)argv[0][0]) &&
- (argv[0][1] == '\0' || !strcmp(argv[0], "3p"))) {
+ } else if (argv[0] != NULL && (
+ (isdigit((unsigned char)argv[0][0]) &&
+ (argv[0][1] == '\0' || !strcmp(argv[0], "3p"))) ||
+ (argv[0][0] == 'n' && argv[0][1] == '\0'))) {
search.sec = argv[0];
argv++;
argc--;