diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-01 09:58:54 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-05-01 09:58:54 +0000 |
commit | 97ff25aeb623a0fc7dce536c946e59a4052fc588 (patch) | |
tree | 58f3e410424a68e5a9e99fcf9146ccc597d7c6ab /Build/source/texk/seetexk/dvibook.c | |
parent | 22e024a12ca7fb8ceb660b3da19adbf7c9a26353 (diff) |
seetexk: Add version number and bug report address in usage
git-svn-id: svn://tug.org/texlive/trunk@54957 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk/dvibook.c')
-rw-r--r-- | Build/source/texk/seetexk/dvibook.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/seetexk/dvibook.c b/Build/source/texk/seetexk/dvibook.c index b57f50cfce1..39bf291b78c 100644 --- a/Build/source/texk/seetexk/dvibook.c +++ b/Build/source/texk/seetexk/dvibook.c @@ -56,11 +56,7 @@ extern int optind; #include <stdio.h> #include <ctype.h> #include "seek.h" - -#if defined(WIN32) && defined(KPATHSEA) -#undef fopen -#define fopen fsyscp_fopen -#endif +#include "common.h" #define white(x) ((x) == ' ' || (x) == '\t' || (x) == ',') @@ -466,6 +462,8 @@ main(int argc, char **argv) case '?': usage: + (void) fprintf(stderr, + "dvibook in SeeTeX Ver.%s (%s)\n", VERSION, TL_VERSION); #ifdef ASCIIPTEX (void) fprintf(stderr, "\ Usage: %s [-s signature] [-q] [-i infile] [-o outfile] [-r] [infile [outfile]]\n", @@ -475,6 +473,8 @@ Usage: %s [-s signature] [-q] [-i infile] [-o outfile] [-r] [infile [outfile]]\n Usage: %s [-s signature] [-q] [-i infile] [-o outfile] [infile [outfile]]\n", ProgName); #endif + (void) fprintf(stderr, + "\nEmail bug reports to %s.\n", BUG_ADDRESS); (void) fflush(stderr); exit(1); } |