Commit 1c91e4b7 1c91e4b7d0a95e2fc1d2966e33ed98db6053338a by Sergey Poznyakoff

(mh_getopt): Bugfix

1 parent 22130e2e
...@@ -95,6 +95,8 @@ mh_getopt (int argc, char **argv, struct mh_option *mh_opt, const char *doc) ...@@ -95,6 +95,8 @@ mh_getopt (int argc, char **argv, struct mh_option *mh_opt, const char *doc)
95 mh_help (mh_opt, doc); 95 mh_help (mh_opt, doc);
96 exit (1); 96 exit (1);
97 } 97 }
98 else
99 mh_optind++;
98 return '?'; 100 return '?';
99 } 101 }
100 102
......