From d4a7fb8fe8464a2b128c5358299730969d98f780 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 25 Nov 2009 02:24:37 +0000 Subject: allow the --load option to gui and gui2 git-svn-id: svn://tug.org/texlive/trunk@16159 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Master') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 9011c240d29..eae0d6247a9 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -172,7 +172,8 @@ sub main { "fileassocmode" => "=i" }, "uninstall"=> { "force" => 1 }, "check" => { "use-svn" => 1 }, - "recreate-tlpdb" => { "arch" => "=s" } + "recreate-tlpdb" => { "arch" => "=s" }, + "gui" => { "load" => 1 }, ); my %optarg; @@ -270,6 +271,10 @@ sub main { my %suppargs; %suppargs = %{$actionoptions{$action}} if defined($actionoptions{$action}); + if ($action eq "gui2") { + %suppargs = %{$actionoptions{"gui"}} + if defined($actionoptions{"gui"}); + } my @notvalidargs; for my $k (keys %opts) { my @allargs = keys %suppargs; -- cgit v1.2.3