From 77e4127b08ba83ac3c8db5d57fa2c3eeb345665d Mon Sep 17 00:00:00 2001 From: fukachan Date: Fri, 16 Mar 2001 04:31:39 +0000 Subject: fmldoc supports perldoc [-vtuml] --- fml/lib/FML/Process/Configure.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fml/lib/FML/Process/Configure.pm b/fml/lib/FML/Process/Configure.pm index d3f233ea..b7f4296c 100644 --- a/fml/lib/FML/Process/Configure.pm +++ b/fml/lib/FML/Process/Configure.pm @@ -65,7 +65,13 @@ sub run $curproc->_show_conf($args); } elsif ($myname eq 'fmldoc') { - exec 'perldoc', @$argv; + my (@opts); + push(@opts, '-v') if $args->{ options }->{ v }; + push(@opts, '-t') if $args->{ options }->{ t }; + push(@opts, '-u') if $args->{ options }->{ u }; + push(@opts, '-m') if $args->{ options }->{ m }; + push(@opts, '-l') if $args->{ options }->{ l }; + exec 'perldoc', @opts, @$argv; } elsif ($myname eq 'makefml') { $curproc->_makefml($args); -- cgit v1.2.1