shogo82148 / Redis-Fast

fast perl binding for Redis database
https://metacpan.org/release/Redis-Fast
Other
25 stars 21 forks source link

manpage missing WHATIS entry #76

Closed Zugschlus closed 6 years ago

Zugschlus commented 6 years ago

Hi,

the following trivial patch adds NAME sections to the man pages which causes them to be correctly attached to the WHATIS stuff.

--- a/lib/Redis/Fast/Sentinel.pm
+++ b/lib/Redis/Fast/Sentinel.pm
@@ -35,6 +35,10 @@ sub get_masters {

 __END__

+=head1 NAME
+
+    Redis::Fast::Sentinel - connect to a Sentinel instance
+
 =head1 SYNOPSIS

     my $sentinel = Redis::Fast::Sentinel->new( ... );
--- a/lib/Redis/Fast/List.pm
+++ b/lib/Redis/Fast/List.pm
@@ -85,6 +85,10 @@ sub DESTROY { $_[0]->quit }

 1;    ## End of Redis::List

+=head1 NAME
+
+    Redis::List - tie Perl arrays to Redis lists
+
 =head1 SYNOPSYS

     tie @my_list, 'Redis::List', 'list_name', @Redis_new_parameters;
--- a/lib/Redis/Fast/Hash.pm
+++ b/lib/Redis/Fast/Hash.pm
@@ -67,6 +67,9 @@ sub CLEAR {

 1;    ## End of Redis::Hash

+=head1 NAME
+
+    Redis::Hash - tie Perl hashes to Redis hashes

 =head1 SYNOPSYS
shogo82148 commented 6 years ago

Thank you! it's fixed by #77.