diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/man.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index 722f664..d319e8b 100644 --- a/miscutils/man.c +++ b/miscutils/man.c @@ -324,7 +324,7 @@ int man_main(int argc UNUSED_PARAM, char **argv) /* is 1st ARG a SECTION? */ sec_list = conf_sec_list; - if (is_section_name(conf_sec_list, *argv)) { + if (is_section_name(conf_sec_list, *argv) && argv[1]) { /* yes */ sec_list = *argv++; } |