+
+sub sendhelp {
+ my $client = shift;
+
+ print $client "userdir-ldap finger daemon\n";
+ print $client "--------------------------\n";
+ print $client "finger <uid>[/<attributes>]\@db.debian.org\n";
+ print $client " where uid is the user id of the user\n";
+ print $client " the optional attributes parameter specifies what to return\n";
+ print $client " if nothing is specified, all attributes are returned.\n";
+ print $client " The following attributes are current supported:\n";
+ foreach (@summarykeys) {
+ print $client " $_ : $attrs{$_}\n";
+ }
+ print $client " Multiple attributes can be separated by commas, like this:\n";
+ print $client " finger tux/email,key\@db.debian.org\n";
+}