diff options
-rw-r--r-- | Build/source/texk/mendexk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/mendexk/main.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog b/Build/source/texk/mendexk/ChangeLog index 6bcd44a6982..58a3c7de841 100644 --- a/Build/source/texk/mendexk/ChangeLog +++ b/Build/source/texk/mendexk/ChangeLog @@ -1,3 +1,7 @@ +2015-08-08 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * main.c: Add '--help' option. + 2015-07-07 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am: Better dependencies for 'make check'. diff --git a/Build/source/texk/mendexk/main.c b/Build/source/texk/mendexk/main.c index b5505d4f3c9..5b9feca6266 100644 --- a/Build/source/texk/mendexk/main.c +++ b/Build/source/texk/mendexk/main.c @@ -194,7 +194,7 @@ int main(int argc, char **argv) case '-': if (strlen(argv[i])==2) chkopt=0; - break; + if (strcmp(argv[i],"--help")!=0) break; default: fprintf(stderr,"mendex - Japanese index processor, %s (%s) (%s).\n",VERSION, get_enc_string(), TL_VERSION); |