summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-15 01:34:18 +0000
committerKarl Berry <karl@freefriends.org>2007-12-15 01:34:18 +0000
commitefc67849c1f1519dc1921b448b25d8e284bd57b3 (patch)
tree0376beeac0446322290c80e08180561ddf9ac31f /Build/source
parentd16935044a038718447ee9f20658f64bbd0f7808 (diff)
improve --version and --help
git-svn-id: svn://tug.org/texlive/trunk@5789 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c11
2 files changed, 10 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 889d80db6da..42c447cf043 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-15 Karl Berry <karl@tug.org>
+
+ * kpsewhich.c (read_command_line, USAGE): improve --version and
+ --help messages.
+
2007-12-01 Karl Berry <karl@tug.org>
* texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index c1a2930dcae..31c8e98bf40 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -231,8 +231,7 @@ lookup P1C(string, name)
-help print this message and exit.\n\
-interactive ask for additional filenames to look up.\n\
[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=pk/mf/tex/tfm).\n\
--mode=STRING set device name for $MAKETEX_MODE to STRING;\n\
- no default.\n\
+-mode=STRING set device name for $MAKETEX_MODE to STRING; no default.\n\
-must-exist search the disk as well as ls-R if necessary\n\
-path=STRING search in the path STRING.\n\
-progname=STRING set program name to STRING.\n\
@@ -364,10 +363,10 @@ read_command_line P2C(int, argc, string *, argv)
} else if (ARGUMENT_IS ("version")) {
extern KPSEDLL char *kpathsea_version_string; /* from version.c */
puts (kpathsea_version_string);
- puts ("Copyright 2005 Karl Berry & Olaf Weber.\n\
-There is NO warranty. You may redistribute this software\n\
-under the terms of the GNU General Public License.\n\
-For more information about these matters, see the files named GPL and LGPL.");
+ puts ("Copyright 2008 Karl Berry & Olaf Weber.\n\
+License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html>\n\
+This is free software: you are free to change and redistribute it.\n\
+There is NO WARRANTY, to the extent permitted by law.\n");
exit (0);
}