diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-16 19:11:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-16 19:11:15 +0000 |
commit | 0e0d67544396951aac80a00a3c01be5836b1eb75 (patch) | |
tree | 1a12a0e08236ab2bb0efa4ab08eaf228374bf935 /Master | |
parent | 1abeb648c1e8b4983df4b25b61c87b4bba4b5e1d (diff) |
(actionoptions): alphabetize, twice.
git-svn-id: svn://tug.org/texlive/trunk@35841 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-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) { |