diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-01 00:01:19 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-01 00:01:19 +0000 |
commit | 2f852967b202518e8a7e0b0e4d615f855429c36e (patch) | |
tree | 9a522338cadb0673eb93c265fd5dabeaa352c2f3 /Build/source/texk | |
parent | 42298f8f71a670410829954543a9189aba068bf1 (diff) |
mendexk: Add bug report address on command line help
git-svn-id: svn://tug.org/texlive/trunk@54955 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/mendexk/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/mendexk/Makefile.am | 1 | ||||
-rw-r--r-- | Build/source/texk/mendexk/Makefile.in | 1 | ||||
-rw-r--r-- | Build/source/texk/mendexk/main.c | 10 | ||||
-rw-r--r-- | Build/source/texk/mendexk/version.h | 2 |
5 files changed, 13 insertions, 7 deletions
diff --git a/Build/source/texk/mendexk/ChangeLog b/Build/source/texk/mendexk/ChangeLog index 1573402cc73..c76ecc0da59 100644 --- a/Build/source/texk/mendexk/ChangeLog +++ b/Build/source/texk/mendexk/ChangeLog @@ -1,3 +1,9 @@ +2020-05-01 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * main.c, version.h, Makefile.{am.in}: Add bug report addresses + on command line help. + * main.c: Remove option "T" from command line help (w32 only). + 2020-01-16 Karl Berry <karl@freefriends.org> * configure.ac, diff --git a/Build/source/texk/mendexk/Makefile.am b/Build/source/texk/mendexk/Makefile.am index 1b18e8727e2..d031b90e50d 100644 --- a/Build/source/texk/mendexk/Makefile.am +++ b/Build/source/texk/mendexk/Makefile.am @@ -20,6 +20,7 @@ mendex_SOURCES = \ ktable.h \ main.c \ mendex.h \ + version.h \ pageread.c \ qsort.c \ qsort.h \ diff --git a/Build/source/texk/mendexk/Makefile.in b/Build/source/texk/mendexk/Makefile.in index b4a8c06905b..47027358f47 100644 --- a/Build/source/texk/mendexk/Makefile.in +++ b/Build/source/texk/mendexk/Makefile.in @@ -565,6 +565,7 @@ mendex_SOURCES = \ ktable.h \ main.c \ mendex.h \ + version.h \ pageread.c \ qsort.c \ qsort.h \ diff --git a/Build/source/texk/mendexk/main.c b/Build/source/texk/mendexk/main.c index 622b8986fef..b00854e3811 100644 --- a/Build/source/texk/mendexk/main.c +++ b/Build/source/texk/mendexk/main.c @@ -1,4 +1,5 @@ #include "mendex.h" +#include "version.h" #include <kpathsea/tex-file.h> #include <kpathsea/variable.h> #include <ptexenc/ptexenc.h> @@ -19,8 +20,6 @@ char *styfile,*idxfile[256],*indfile,*dicfile,*logfile; #endif KpathseaSupportInfo kp_ist,kp_dict; -#define VERSION "version 3.2 [16-Jan-2020]" - int main(int argc, char **argv) { int i,j,cc=0,startpagenum=-1,ecount=0,chkopt=1; @@ -191,11 +190,7 @@ int main(int argc, char **argv) fprintf(stderr,"mendex - Japanese index processor, %s (%s) (%s).\n",VERSION, get_enc_string(), TL_VERSION); fprintf(stderr," Copyright 2009 ASCII MEDIA WORKS, 2017-2020 Japanese TeX Development Community\n"); fprintf(stderr,"usage:\n"); - fprintf(stderr,"%% mendex [-ilqrcgfEJS" -#ifdef WIN32 - "T" -#endif - "U] [-s sty] [-d dic] [-o ind] [-t log] [-p no] [-I enc] [--] [idx0 idx1 ...]\n"); + fprintf(stderr,"%% mendex [-ilqrcgfEJSU] [-s sty] [-d dic] [-o ind] [-t log] [-p no] [-I enc] [--] [idx0 idx1 ...]\n"); fprintf(stderr,"options:\n"); fprintf(stderr,"-i use stdin as the input file.\n"); fprintf(stderr,"-l use letter ordering.\n"); @@ -216,6 +211,7 @@ int main(int argc, char **argv) fprintf(stderr,"-U UTF-8 mode.\n"); fprintf(stderr,"-I enc internal encoding for keywords (enc: euc or utf8).\n"); fprintf(stderr,"idx... input files.\n"); + fprintf(stderr,"\nEmail bug reports to %s.\n", BUG_ADDRESS); exit(0); break; } diff --git a/Build/source/texk/mendexk/version.h b/Build/source/texk/mendexk/version.h new file mode 100644 index 00000000000..5d2e795d5ea --- /dev/null +++ b/Build/source/texk/mendexk/version.h @@ -0,0 +1,2 @@ +#define VERSION "version " PACKAGE_VERSION " [16-Jan-2020]" +#define BUG_ADDRESS "issue@texjp.org" |