summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpfiles
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-10 00:57:44 +0000
committerKarl Berry <karl@freefriends.org>2008-07-10 00:57:44 +0000
commit612e532d2f3279cac32624b31decca25dc03f5b7 (patch)
treeba60be183d2a9862be457e26443378031627df0f /Master/tlpkg/bin/tlpfiles
parent0dcbd08d9eda88bf5a9bf9166c44b2a2577362df (diff)
document info/[d]debug/tlwarn, other doc tweaks
git-svn-id: svn://tug.org/texlive/trunk@9415 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpfiles')
-rwxr-xr-xMaster/tlpkg/bin/tlpfiles26
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/tlpkg/bin/tlpfiles b/Master/tlpkg/bin/tlpfiles
index 875cea63f0c..970bacd6b07 100755
--- a/Master/tlpkg/bin/tlpfiles
+++ b/Master/tlpkg/bin/tlpfiles
@@ -27,12 +27,12 @@ our $FILE;
our %DB_BY_FILE; # used privately below.
our @opt_pkgof = ();
-my $help = 0;
+my $opt_help = 0;
TeXLive::TLUtils::process_logging_options ();
-GetOptions("pkgof=s" => \@opt_pkgof,
- "help|?" => \$help) or pod2usage(2);
-pod2usage ("-exitstatus" => 0, "-verbose" => 2) if $help;
+GetOptions ("pkgof=s" => \@opt_pkgof,
+ "help|?" => \$opt_help) or pod2usage (2);
+pod2usage ("-exitstatus" => 0, "-verbose" => 2) if $opt_help;
exit (&main ());
@@ -130,7 +130,7 @@ tlpfiles - list files contained in a TeX Live package, or vice versa
=head1 SYNOPSIS
-tlpfiles [I<option>]... I<tlpkg>
+ tlpfiles [I<option>]... I<tlpkg>
or: tlpfiles [I<option>]... -pkgof I<file>...
=head1 OPTIONS
@@ -138,20 +138,19 @@ tlpfiles [I<option>]... I<tlpkg>
=over 8
=item B<-pkgof> I<file>...
-Output the TeX Live package(s) in which each <file> is contained.
-=item B<-help>
-Print this documentation and exit.
+Output the TeX Live package(s) in which each I<file> is contained.
-=item B<-q>
-Omit normal informational messages.
+=item B<-help>
-=item B<-v>
-Include debugging messages; repeat for maximum debugging, as in C<-vv>.
-(Further repeats are accepted and ignored.)
+Print this documentation and exit.
=back
+The standard options B<-q>, B<-v>, and B<-logfile>=I<file> are also
+accepted; see the C<process_logging_options> function in
+L<TeXLive::TLUtils> for details.
+
=head1 DESCRIPTION
In the first form, with just I<TLPKG> specified, return all the files
@@ -168,6 +167,7 @@ package in which each given I<FILE> is contained, or C<-> if no package
can be found. The files may be given as a single whitespace-separated
argument, or the C<-pkgof> option may be given more than once, or both.
Example invocation, given the list of files to search for in C</tmp/f>:
+
tlpfiles --pkgof "`cat /tmp/f`"
Any directory part of the files is stripped. If there are multiple