summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/texmf/scripts/texlive/tl-package-manager.pl24
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.texlua19
2 files changed, 29 insertions, 14 deletions
diff --git a/Master/texmf/scripts/texlive/tl-package-manager.pl b/Master/texmf/scripts/texlive/tl-package-manager.pl
index 3af8da8cabf..bc87fdd2d9e 100755
--- a/Master/texmf/scripts/texlive/tl-package-manager.pl
+++ b/Master/texmf/scripts/texlive/tl-package-manager.pl
@@ -16,6 +16,14 @@
# default <key> <value>
# sets the options in texlive.tlpdb
# done for location
+#
+# NOTE:
+# We keep the FULL DOCUMENTATION of tlmgr in this file since all options
+# are forwarded to tl-package-manager. Therefore the pod documentation
+# also mentions "tlmgr" instead of tl-package-manager.pl!!
+#
+# Please if you add something tl tlmgr.texlua also add documentation here!
+#
my $Master;
@@ -542,16 +550,20 @@ __END__
=head1 NAME
-tl-package-manager - the TeX Live Package Manager
+tlmgr - the TeX Live Manager
=head1 SYNOPSIS
-tl-package-manager ACTION [OPTION] ... [PACKAGE] ...
+tlmgr ACTION [OPTION] ... [PACKAGE] ...
=head1 ACTION
=over 8
+=item B<help>
+
+Gives this help page.
+
=item B<install>
Install all packages given on the cmdline. By default this installs all
@@ -592,6 +604,14 @@ for the given argument (interpreted as regexp).
Search the names and short descriptions of all packages available on
the install media.
+
+=item B<uninstall>
+
+Uninstalls the TeX Live installation.
+
+(This options is implemented in the texlua script and uninstall-tl.pl)
+
+
=item B<generate language>
=item B<generate fmtutil>
diff --git a/Master/texmf/scripts/texlive/tlmgr.texlua b/Master/texmf/scripts/texlive/tlmgr.texlua
index 89bb771b60a..7b6f581012b 100755
--- a/Master/texmf/scripts/texlive/tlmgr.texlua
+++ b/Master/texmf/scripts/texlive/tlmgr.texlua
@@ -10,18 +10,18 @@
-- it calls several supporting scripts from texmf/scripts/texlive
-- and other places
--
+-- NOTE
+-- The full documentation for the end user will be kept in
+-- tl-package-manager.pl
+-- since help or empty arguments will be forwarded to that script!!!
+--
-- Currently supported arguments
--- help local, not implemented
-- generate-fmtutil generate-fmtutil.pl
-- generate-updmap generate-updmap.pl
-- generate-language generate-language.pl
-- uninstall uninstall-tl.pl and local code
--- update tl-package-manager.pl
--- install tl-package-manager.pl
--- remove tl-package-manager.pl
--- search tl-package-manager.pl
--- globalsearch tl-package-manager.pl
--- * tl-package-manager.pl
+-- anything else tl-package-manager.pl
+-- that is update, install, remove, search, ......
function fixwin(args_unix)
if os.type == 'windows' then
@@ -103,11 +103,6 @@ TEXMFSYSVAR=kpse.var_value('TEXMFSYSVAR')
BINDIR=kpse.var_value('SELFAUTOLOC')
-if arg[1] == 'help' then
- print ("Usage: not implemented")
- os.exit(0)
-end
-
if arg[1] == 'uninstall' then
print("If you answer yes here the whole TeX Live installation will be removed!")
io.stdout:write("Remove TeX Live (y/N): ")