diff options
author | gaurav <gaurav@ggvaidya.com> | 2016-05-27 19:16:44 +0530 |
---|---|---|
committer | gaurav <gaurav@ggvaidya.com> | 2016-05-27 19:16:44 +0530 |
commit | ad1a4bc33623b9bca05f827014b64097907aacfb (patch) | |
tree | 80843b672350bcb39406a656f4e0fa790ae4b109 /lib | |
parent | 25980a90fec600a9c4fd60af0d4ed243b011d806 (diff) | |
download | www-pocket-ad1a4bc33623b9bca05f827014b64097907aacfb.tar.gz www-pocket-ad1a4bc33623b9bca05f827014b64097907aacfb.zip |
Improved synopsis, added 'man' command for manual.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/WWW/Pocket/Script.pm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/WWW/Pocket/Script.pm b/lib/WWW/Pocket/Script.pm index 068ec3d..005d126 100644 --- a/lib/WWW/Pocket/Script.pm +++ b/lib/WWW/Pocket/Script.pm @@ -74,12 +74,20 @@ sub _method_is_command { return 1; } -# Display help about this script. +# Display quick usage help on this script. sub help { my $self = shift; pod2usage(-verbose => 1); } +# Display comprehensive help about this script. +sub man { + my $self = shift; + pod2usage(-verbose => 2); +} + + + sub authenticate { my $self = shift; $self->pocket; |