summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi/dvidvi.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-15 17:37:55 +0000
committerKarl Berry <karl@freefriends.org>2018-05-15 17:37:55 +0000
commitf52b4ea3f576190e0a9f04b262929319fd80de26 (patch)
tree426aa9ae6a8840db628b16f74674afa69fc99104 /Build/source/texk/dvidvi/dvidvi.c
parent576bcfc8438cdf59c4aab99732b16046821e6a79 (diff)
report actual bad option letter given; avoid redundant list of all options
git-svn-id: svn://tug.org/texlive/trunk@47723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvidvi/dvidvi.c')
-rw-r--r--Build/source/texk/dvidvi/dvidvi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/dvidvi/dvidvi.c b/Build/source/texk/dvidvi/dvidvi.c
index fa4c54cb2f4..a48890338f8 100644
--- a/Build/source/texk/dvidvi/dvidvi.c
+++ b/Build/source/texk/dvidvi/dvidvi.c
@@ -34,7 +34,7 @@
#define SEEK_CUR 1
#define SEEK_END 2
-#define BANNER "\nThis is dvidvi 1.1, Copyright (C) 1988-91, Radical Eye Software\n" \
+#define BANNER "\nThis is dvidvi 1.1, Copyright 1988-1991 Radical Eye Software\n" \
"Improved from 1.0 to 1.1, 1994, Markus Kohm\n"
#define STRINGSIZE (500L) /* maximum number of strings in program */
@@ -772,7 +772,8 @@ case '?' :
usage() ;
break ;
default:
- error("! Bad option, not one of fijlmnpqrx?") ;
+ fprintf(stderr, "dvidvi: Bad option %c\n", c);
+ error("! Try -? for more information") ;
} /* switch c */
} else { /* this a file name */
if (*iname == 0) { /* input file name */