diff options
| author | fukachan <fukachan> | 2002-12-18 04:43:51 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-12-18 04:43:51 +0000 |
| commit | 0e7a6e2a86e09cbc2e5631bcaf5e2518f81cd328 (patch) | |
| tree | 9705d4b6a9ce6eda7d4e8b3bd1843b12bb814b53 /fml/lib/FML/Process/ConfViewer.pm | |
| parent | ea5a0bc5326d04fc0071a4512e46599e81d42f43 (diff) | |
| download | fml8-0e7a6e2a86e09cbc2e5631bcaf5e2518f81cd328.tar.gz fml8-0e7a6e2a86e09cbc2e5631bcaf5e2518f81cd328.tar.bz2 fml8-0e7a6e2a86e09cbc2e5631bcaf5e2518f81cd328.zip | |
fix comments, more error messagse
Diffstat (limited to 'fml/lib/FML/Process/ConfViewer.pm')
| -rw-r--r-- | fml/lib/FML/Process/ConfViewer.pm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/ConfViewer.pm b/fml/lib/FML/Process/ConfViewer.pm index 5058df26..bf5aeaf5 100644 --- a/fml/lib/FML/Process/ConfViewer.pm +++ b/fml/lib/FML/Process/ConfViewer.pm @@ -3,14 +3,13 @@ # Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi # All rights reserved. # -# $FML: ConfViewer.pm,v 1.17 2002/09/22 14:56:52 fukachan Exp $ +# $FML: ConfViewer.pm,v 1.18 2002/09/29 05:28:25 fukachan Exp $ # package FML::Process::ConfViewer; - -use vars qw($debug @ISA @EXPORT @EXPORT_OK); use strict; use Carp; +use vars qw($debug @ISA @EXPORT @EXPORT_OK); use FML::Log qw(Log LogWarn LogError); use FML::Process::Kernel; @ISA = qw(FML::Process::Kernel); @@ -41,7 +40,11 @@ It make a C<FML::Process::Kernel> object and return it. =head2 C<prepare($args)> -adjust ml_* and load configuration files. +fix @INC, adjust ml_* and load configuration files. + +=head2 C<verify_request($args)> + +show help unless @ARGV. =cut @@ -118,7 +121,7 @@ sub verify_request =head2 C<run($args)> -the top level dispatcher for C<fmlconf> and C<makefml>. +the top level dispatcher for C<fmlconf>. It kicks off internal function C<_fmlconf($args)> for C<fmlconf>. @@ -225,6 +228,7 @@ sub _fmlconf my $mode = $args->{ options }->{ n } ? 'difference_only' : 'all'; my $argv = $curproc->command_line_argv(); + # if variable name is given, show the value. if (defined $argv->[1]) { my $k = $argv->[1]; print "$k = ", $config->{ $k }, "\n"; |
