diff options
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 87 |
1 files changed, 44 insertions, 43 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 91b21bca056..a7465c7d01c 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -130,6 +130,8 @@ sub main { "gui" => 1, "gui-lang" => "=s", "debug-translation" => 1, + "h|?" => 1, + "help" => 1, "location|repository|repo" => "=s", "machine-readable" => 1, "no-execute-actions" => 1, @@ -141,72 +143,71 @@ sub main { "usermode|user-mode" => 1, "usertree|user-tree" => "=s", "version" => 1, - "help" => 1, - "h|?" => 1); + ); my %actionoptions = ( - "get-mirror" => { }, - "option" => { }, - "conf" => { "conffile" => "=s", - "delete" => 1 }, - "version" => { }, - "repository" => { }, - "candidate" => { }, - "backup" => { "backupdir" => "=s", + "backup" => { "all" => 1, + "backupdir" => "=s", "clean" => ":-99", - "all" => 1, "dry-run|n" => 1 }, + "candidate" => { }, "check" => { "use-svn" => 1 }, - "generate" => { "localcfg" => "=s", - "dest" => "=s", + "conf" => { "conffile" => "=s", + "delete" => 1 }, + "dump-tlpdb" => { "local" => 1, + "remote" => 1 }, + "generate" => { "dest" => "=s", + "localcfg" => "=s", "rebuild-sys" => 1 }, + "get-mirror" => { }, "gui" => { "load" => 1 }, - "install" => { "no-depends" => 1, - "no-depends-at-all" => 1, + "info" => { "list" => 1, + "only-installed" => 1 }, + "install" => { "dry-run|n" => 1, "file" => 1, - "reinstall" => 1, "force" => 1, - "dry-run|n" => 1 }, + "no-depends" => 1, + "no-depends-at-all" => 1, + "reinstall" => 1}, + "option" => { }, "paper" => { "list" => 1 }, "path" => { "w32mode" => "=s" }, "pinning" => { "all" => 1 }, "platform" => { "dry-run|n" => 1 }, - "postaction" => { "w32mode" => "=s", - "all" => 1, - "fileassocmode" => "=i" }, + "postaction" => { "all" => 1, + "fileassocmode" => "=i", + "w32mode" => "=s"}, "recreate-tlpdb"=> { "platform|arch" => "=s" }, - "remove" => { "no-depends" => 1, - "no-depends-at-all" => 1, + "remove" => { "dry-run|n" => 1, "force" => 1, - "dry-run|n" => 1 }, + "no-depends" => 1, + "no-depends-at-all" => 1 }, "repository" => { "with-platforms" => 1 }, - "restore" => { "backupdir" => "=s", + "restore" => { "all" => 1, + "backupdir" => "=s", "dry-run|n" => 1, - "all" => 1, - "force" => 1 }, - "search" => { "global" => 1, - "word" => 1, + "force" => 1, }, + "search" => { "all" => 1, "file" => 1, - "all" => 1, }, - "info" => { "list" => 1, - "only-installed" => 1 }, - "dump-tlpdb" => { "local" => 1, - "remote" => 1 }, + "global" => 1, + "word" => 1 }, + "repository" => { }, "uninstall" => { "force" => 1 }, - "update" => { "no-depends" => 1, - "no-depends-at-all" => 1, - "all" => 1, - "self" => 1, + "update" => { "all" => 1, + "backup" => 1, + "backupdir" => "=s", + "dry-run|n" => 1, + "exclude" => "=s@", + "force" => 1, "list" => 1, "no-auto-remove" => 1, "no-auto-install" => 1, + "no-depends" => 1, + "no-depends-at-all" => 1, "reinstall-forcibly-removed" => 1, - "force" => 1, - "backupdir" => "=s", - "backup" => 1, - "exclude" => "=s@", - "dry-run|n" => 1 }, - ); + "self" => 1 }, + "version" => { }, + ); my %optarg; for my $k (keys %globaloptions) { |