summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-01-08 14:36:31 +0000
committerNorbert Preining <preining@logic.at>2009-01-08 14:36:31 +0000
commit760eea56272a69965549e35be5de37885d63ddd1 (patch)
tree4b9b5d2d769bf2f5dd3853e41921a17fcb1dd7c2
parent3aadf981303dfeeb579af1fbf8c704d962f3ad9d (diff)
reinstantiate the --list function
git-svn-id: svn://tug.org/texlive/trunk@11825 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr2.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr2.pl b/Master/texmf/scripts/texlive/tlmgr2.pl
index 8212dbaa66d..02b1b73e9da 100755
--- a/Master/texmf/scripts/texlive/tlmgr2.pl
+++ b/Master/texmf/scripts/texlive/tlmgr2.pl
@@ -725,6 +725,9 @@ sub action_paper {
tlwarn("tlmgr: expected `paper' after $prog, not $arg\n");
return;
}
+ # the do_paper progs check for the arguments --list, so if given
+ # put it back on the cmd line
+ unshift(@ARGV, "--list") if $opts{"list"};
merge_into(\%ret,TeXLive::TLPaper::do_paper($prog,$texmfsysconfig,@ARGV));
}
if ($ret{"format"} && ! $localtlpdb->option_create_formats) {