From f2e639c95860da3845063aa4f2c6135682f4ec2a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 9 Jul 2009 14:56:34 +0000 Subject: rename --fileassoc to --fileassocmode git-svn-id: svn://tug.org/texlive/trunk@14208 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Master/texmf') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 858dce9f4fc..7dd70145857 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -139,7 +139,7 @@ my %actionoptions = ( "generate" => { "localcfg" => "=s", "dest" => "=s" }, "postaction" => {"w32mode" => "=s", - "fileassoc" => "=i" }, + "fileassocmode" => "=i" }, "uninstall"=> { "force" => 1 }, "check" => { "use-svn" => 1 }, "recreate-tlpdb" => { "arch" => "=s" } @@ -2900,7 +2900,7 @@ sub check_depends { # action_postaction # this action calls the various post actions if one want's to do that # on a client system or overriding global settings -# tlmgr postaction [--w32mode=user|admin] [--fileassoc=1|2] [--all] +# tlmgr postaction [--w32mode=user|admin] [--fileassocmode=1|2] [--all] # [install|remove] [shortcut|fileassoc|script] [ ...] sub action_postaction { @@ -2968,12 +2968,12 @@ sub action_postaction { return; } my $fa = $localtlpdb->option("file_assocs"); - if ($opts{"fileassoc"}) { - if ($opts{"fileassoc"} < 1 || $opts{"fileassoc"} > 2) { - tlwarn("action postaction: value of --fileassoc can only be 1 or 2\n"); + if ($opts{"fileassocmode"}) { + if ($opts{"fileassocmode"} < 1 || $opts{"fileassocmode"} > 2) { + tlwarn("action postaction: value of --fileassocmode can only be 1 or 2\n"); return; } - $fa = $opts{"fileassoc"}; + $fa = $opts{"fileassocmode"}; } for my $p (@todo) { my $tlp = $localtlpdb->get_package($p); @@ -3654,7 +3654,7 @@ On W32 based systems it adds or removes the binary dir to the system or user registry path entry, depending on being admin and the setting $tlpdb->option("w32_multi_user"). -=head2 postaction [--w32mode=user|admin] [--fileassoc=1|2] [--all] +=head2 postaction [--w32mode=user|admin] [--fileassocmode=1|2] [--all] [install|remove] [shortcut|fileassoc|script] [ ...] Carry out the postaction specified by C<--type> for each of the given -- cgit v1.2.3