diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-15 17:37:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-15 17:37:55 +0000 |
commit | f52b4ea3f576190e0a9f04b262929319fd80de26 (patch) | |
tree | 426aa9ae6a8840db628b16f74674afa69fc99104 /Build | |
parent | 576bcfc8438cdf59c4aab99732b16046821e6a79 (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')
-rw-r--r-- | Build/source/texk/dvidvi/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvidvi/dvidvi.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/dvidvi/ChangeLog b/Build/source/texk/dvidvi/ChangeLog index d83fdff6679..0729680716b 100644 --- a/Build/source/texk/dvidvi/ChangeLog +++ b/Build/source/texk/dvidvi/ChangeLog @@ -1,3 +1,8 @@ +2018-05-15 Karl Berry <karl@freefriends.org> + + * dvidvi.c: report actual bad option letter, + and say to use -? instead of duplicating. + 2018-05-14 Hironobu Yamashita <h.y.acetaminophen@gmail.com> * dvidvi.c: Adjust 'Bad option' error message. 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 */ |