diff options
| author | fukachan <fukachan> | 2001-10-08 15:54:42 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-10-08 15:54:42 +0000 |
| commit | 38ff0602408f332761130c403c57c54768e030a3 (patch) | |
| tree | cf58524b0060a5468c86bf977427459e27bc6982 /fml | |
| parent | e48974c6a8f2e544d50f00a24b941275c99b99f6 (diff) | |
| download | fml8-38ff0602408f332761130c403c57c54768e030a3.tar.gz fml8-38ff0602408f332761130c403c57c54768e030a3.tar.bz2 fml8-38ff0602408f332761130c403c57c54768e030a3.zip | |
add prototype for help message
Diffstat (limited to 'fml')
| -rw-r--r-- | fml/lib/FML/Command/User/help.pm | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/fml/lib/FML/Command/User/help.pm b/fml/lib/FML/Command/User/help.pm new file mode 100644 index 00000000..587eccbe --- /dev/null +++ b/fml/lib/FML/Command/User/help.pm @@ -0,0 +1,69 @@ +#-*- perl -*- +# +# Copyright (C) 2001 Ken'ichi Fukamachi +# All rights reserved. This program is free software; you can +# redistribute it and/or modify it under the same terms as Perl itself. +# +# $FML: help.pm,v 1.2 2001/08/26 07:58:39 fukachan Exp $ +# + +package FML::Command::User::help; +use strict; +use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD); +use Carp; + +use ErrorStatus; +use FML::Command::Utils; +@ISA = qw(FML::Command::Utils ErrorStatus); + + +=head1 NAME + +FML::Command::User::help - send back help file + +=head1 SYNOPSIS + +=head1 DESCRIPTION + +See C<FML::Command> for more details. + +=head1 METHODS + +=head2 C<process($curproc, $optargs)> + +=cut + + +sub process +{ + my ($self, $curproc, $optargs) = @_; + my $config = $curproc->{ config }; + my $member_map = $config->{ primary_member_map }; + my $recipient_map = $config->{ primary_recipient_map }; + my $options = $optargs->{ options }; + my $address = $optargs->{ address } || $options->[ 0 ]; + + $curproc->reply_message("help message (dummy ;-)"); +} + + +=head1 AUTHOR + +Ken'ichi Fukamachi + +=head1 COPYRIGHT + +Copyright (C) 2001 Ken'ichi Fukamachi + +All rights reserved. This program is free software; you can +redistribute it and/or modify it under the same terms as Perl itself. + +=head1 HISTORY + +FML::Command::User::help appeared in fml5 mailing list driver package. +See C<http://www.fml.org/> for more details. + +=cut + + +1; |
