From 2f852967b202518e8a7e0b0e4d615f855429c36e Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Fri, 1 May 2020 00:01:19 +0000 Subject: mendexk: Add bug report address on command line help git-svn-id: svn://tug.org/texlive/trunk@54955 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/mendexk/main.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Build/source/texk/mendexk/main.c') 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 #include #include @@ -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; } -- cgit v1.2.3