diff options
author | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2015-08-08 02:42:56 +0000 |
---|---|---|
committer | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2015-08-08 02:42:56 +0000 |
commit | 877e963d44f039783cb9227d90c911866c780961 (patch) | |
tree | 6392a1c2a63c2937574c3ae01814e7487a1a361a | |
parent | 63c03579f7991f7e9a6479a8c5d9e5623d2a8f3c (diff) |
texk/mendexk: Add --help option
git-svn-id: svn://tug.org/texlive/trunk@38078 c570f23f-e606-0410-a88d-b1316a301751
-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); |