summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Addr.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-01-03 10:15:40 +0000
committerfukachan <fukachan>2003-01-03 10:15:40 +0000
commit06553e5a8fa490acffd8208af4840d75a7a68476 (patch)
treefbc695465632032e2e939ce982be1e47ec238dce /fml/lib/FML/Process/Addr.pm
parentc01c4bec19fa0b3ec0210a6c5e2307dd0baeee8a (diff)
downloadfml8-06553e5a8fa490acffd8208af4840d75a7a68476.tar.gz
fml8-06553e5a8fa490acffd8208af4840d75a7a68476.tar.bz2
fml8-06553e5a8fa490acffd8208af4840d75a7a68476.zip
fix help message.
nuke not used variables.
Diffstat (limited to 'fml/lib/FML/Process/Addr.pm')
-rw-r--r--fml/lib/FML/Process/Addr.pm14
1 files changed, 9 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/Addr.pm b/fml/lib/FML/Process/Addr.pm
index 736b754e..fbc9bc30 100644
--- a/fml/lib/FML/Process/Addr.pm
+++ b/fml/lib/FML/Process/Addr.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Addr.pm,v 1.2 2002/11/10 14:50:19 fukachan Exp $
+# $FML: Addr.pm,v 1.3 2002/12/18 04:42:37 fukachan Exp $
#
package FML::Process::Addr;
@@ -181,7 +181,13 @@ sub help
print <<"_EOF_";
-Usage: $name \$command \$ml_name [options]
+Usage: $name [options]
+
+-n show fml specific aliases.
+
+[BUGS]
+ support only fml8 + postfix case.
+ also, we assume /etc/passwd exists.
_EOF_
}
@@ -205,9 +211,7 @@ See <FML::Process::Switch()> on C<$args> for more details.
sub _fmladdr
{
my ($curproc, $args) = @_;
- my $config = $curproc->{ config };
- my $myname = $curproc->myname();
- my $argv = $curproc->command_line_argv();
+ my $config = $curproc->{ config };
my $eval = $config->get_hook( 'fmladdr_run_start_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }