summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-04-17 09:29:04 +0000
committerNorbert Preining <preining@logic.at>2008-04-17 09:29:04 +0000
commitb0c853c555b47429e44685a61132b42ca4487fa8 (patch)
treec698b4a34b27fea0e5692c3669ecd4af27c56ba2
parentcb14dce28c9ff35203aaf34c371d09b1604bdd4d (diff)
keep documentation of tlmgr AND tl-package-manager in tl-package-manager.pl
as POD, since everything is forward there anyway git-svn-id: svn://tug.org/texlive/trunk@7469 c570f23f-e606-0410-a88d-b1316a301751
-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): ")