diff options
Diffstat (limited to 'parser-mecmd.c')
-rw-r--r-- | parser-mecmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser-mecmd.c b/parser-mecmd.c index c8d64ff113..9fc2f3e3c8 100644 --- a/parser-mecmd.c +++ b/parser-mecmd.c @@ -67,7 +67,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv) //next: opt = argv[i]; /* check for -- (no more options id.) except --help! */ - if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) != 'h')) + if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) == 0)) { no_more_opts = 1; if (i+1 >= argc) |