summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-10 18:53:35 +0000
committerKarl Berry <karl@freefriends.org>2008-11-10 18:53:35 +0000
commita79ec16831ecaee41cf619ec098822698fce28fe (patch)
treeb22b57a51500eeea2f2498b0741499db22ae2d1b /Build
parent4f5a64111aac6352005b501bfcb7d58a7bbfcc62 (diff)
in help message, mention need for -engine when looking up format files
git-svn-id: svn://tug.org/texlive/trunk@11246 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c12
2 files changed, 14 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index c4ec90a7da5..5fa11ed1c7e 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-10 Karl Berry <karl@tug.org>
+
+ * kpsewhich.c (USAGE): mention need for -engine when looking up
+ format files. Some reformatting.
+
2008-09-20 Karl Berry <karl@tug.org>
* texmf.cnf: strongly warn that customizations in this file will
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index 51e032b6f50..7b573b6bd1d 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -306,8 +306,14 @@ lookup P1C(string, name)
#define USAGE "\n\
Standalone path lookup and expansion for Kpathsea.\n\
+The default is to look up each FILENAME in turn and report its\n\
+first match (if any) to standard output.\n\
\n\
--all output all matches (one per line), not just the first.\n\
+When looking up format (.fmt/.base/.mem) files, it is usually necessary\n\
+to also use -engine, or nothing will be returned; in particular, -engine=/\n\
+will return matching format files for any engine.\n\
+\n\
+-all output all matches, one per line.\n\
-debug=NUM set debugging flags.\n\
-D, -dpi=NUM use a base resolution of NUM; default 600.\n\
-engine=STRING set engine name to STRING.\n\
@@ -322,8 +328,8 @@ Standalone path lookup and expansion for Kpathsea.\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\
--show-path=NAME output search path for file type NAME (see list below).\n\
--subdir=STRING only output matches whose directory part ends with STRING.\n\
+-show-path=NAME output search path for file type NAME (list below).\n\
+-subdir=STRING only output matches whose directory ends with STRING.\n\
-var-value=STRING output the value of variable $STRING.\n\
-version print version number and exit.\n \
"