diff options
| author | fukachan <fukachan> | 2002-11-07 10:53:51 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-11-07 10:53:51 +0000 |
| commit | b19e710c70f2994ed06f2abbfe0b3ae34fcc3548 (patch) | |
| tree | 8cd30bf5a5c1e93f4736ffa1cc1b3ad4212e715c /fml/lib/FML/Process/Switch.pm | |
| parent | 129da2cfbc4a4caa22b1665d4024fe0da5a04c26 (diff) | |
| download | fml8-b19e710c70f2994ed06f2abbfe0b3ae34fcc3548.tar.gz fml8-b19e710c70f2994ed06f2abbfe0b3ae34fcc3548.tar.bz2 fml8-b19e710c70f2994ed06f2abbfe0b3ae34fcc3548.zip | |
implement fmladdr command, which shows all users and aliases.
Diffstat (limited to 'fml/lib/FML/Process/Switch.pm')
| -rw-r--r-- | fml/lib/FML/Process/Switch.pm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm index e2ed80fd..f45e5430 100644 --- a/fml/lib/FML/Process/Switch.pm +++ b/fml/lib/FML/Process/Switch.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Switch.pm,v 1.74 2002/09/11 23:18:16 fukachan Exp $ +# $FML: Switch.pm,v 1.75 2002/09/22 14:56:54 fukachan Exp $ # package FML::Process::Switch; @@ -323,6 +323,9 @@ sub _module_specific_options elsif ($myname eq 'makefml') { return qw(debug! help! force! params=s -c=s); } + elsif ($myname eq 'fmladdr') { + return qw(debug! help! -c=s n!); + } elsif ($myname eq 'fmlalias') { return qw(debug! help! -c=s n!); } @@ -364,6 +367,9 @@ sub _ml_name_is_required elsif ($myname eq 'makefml') { return 0; } + elsif ($myname eq 'fmladdr') { + return 0; + } elsif ($myname eq 'fmlalias') { return 0; } @@ -414,6 +420,9 @@ sub _module_we_use elsif ($name eq 'makefml') { $pkg = 'FML::Process::Configure'; } + elsif ($name eq 'fmladdr') { + $pkg = 'FML::Process::Addr'; + } elsif ($name eq 'fmlalias') { $pkg = 'FML::Process::Alias'; } |
