texlive[54955] Build/source/texk/mendexk: mendexk: Add bug report
commits+takuji at tug.org
commits+takuji at tug.org
Fri May 1 02:01:19 CEST 2020
Revision: 54955
http://tug.org/svn/texlive?view=revision&revision=54955
Author: takuji
Date: 2020-05-01 02:01:19 +0200 (Fri, 01 May 2020)
Log Message:
-----------
mendexk: Add bug report address on command line help
Modified Paths:
--------------
trunk/Build/source/texk/mendexk/ChangeLog
trunk/Build/source/texk/mendexk/Makefile.am
trunk/Build/source/texk/mendexk/Makefile.in
trunk/Build/source/texk/mendexk/main.c
Added Paths:
-----------
trunk/Build/source/texk/mendexk/version.h
Modified: trunk/Build/source/texk/mendexk/ChangeLog
===================================================================
--- trunk/Build/source/texk/mendexk/ChangeLog 2020-05-01 00:01:15 UTC (rev 54954)
+++ trunk/Build/source/texk/mendexk/ChangeLog 2020-05-01 00:01:19 UTC (rev 54955)
@@ -1,3 +1,9 @@
+2020-05-01 TANAKA Takuji <ttk at 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 at freefriends.org>
* configure.ac,
Modified: trunk/Build/source/texk/mendexk/Makefile.am
===================================================================
--- trunk/Build/source/texk/mendexk/Makefile.am 2020-05-01 00:01:15 UTC (rev 54954)
+++ trunk/Build/source/texk/mendexk/Makefile.am 2020-05-01 00:01:19 UTC (rev 54955)
@@ -20,6 +20,7 @@
ktable.h \
main.c \
mendex.h \
+ version.h \
pageread.c \
qsort.c \
qsort.h \
Modified: trunk/Build/source/texk/mendexk/Makefile.in
===================================================================
--- trunk/Build/source/texk/mendexk/Makefile.in 2020-05-01 00:01:15 UTC (rev 54954)
+++ trunk/Build/source/texk/mendexk/Makefile.in 2020-05-01 00:01:19 UTC (rev 54955)
@@ -565,6 +565,7 @@
ktable.h \
main.c \
mendex.h \
+ version.h \
pageread.c \
qsort.c \
qsort.h \
Modified: trunk/Build/source/texk/mendexk/main.c
===================================================================
--- trunk/Build/source/texk/mendexk/main.c 2020-05-01 00:01:15 UTC (rev 54954)
+++ trunk/Build/source/texk/mendexk/main.c 2020-05-01 00:01:19 UTC (rev 54955)
@@ -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 @@
#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 @@
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 @@
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;
}
Added: trunk/Build/source/texk/mendexk/version.h
===================================================================
--- trunk/Build/source/texk/mendexk/version.h (rev 0)
+++ trunk/Build/source/texk/mendexk/version.h 2020-05-01 00:01:19 UTC (rev 54955)
@@ -0,0 +1,2 @@
+#define VERSION "version " PACKAGE_VERSION " [16-Jan-2020]"
+#define BUG_ADDRESS "issue at texjp.org"
More information about the tex-live-commits
mailing list.