summaryrefslogtreecommitdiff
path: root/Build/source/texk/mendexk/main.c
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-05-01 00:01:19 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-05-01 00:01:19 +0000
commit2f852967b202518e8a7e0b0e4d615f855429c36e (patch)
tree9a522338cadb0673eb93c265fd5dabeaa352c2f3 /Build/source/texk/mendexk/main.c
parent42298f8f71a670410829954543a9189aba068bf1 (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/mendexk/main.c')
-rw-r--r--Build/source/texk/mendexk/main.c10
1 files changed, 3 insertions, 7 deletions
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;
}