summaryrefslogtreecommitdiff
path: root/lib/Getopt/Dakkar.pm
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2018-07-13 13:32:45 +0100
committerdakkar <dakkar@thenautilus.net>2018-07-13 13:32:45 +0100
commitc11ab0abb790e519d63c47c37962c31dc032014a (patch)
tree991a8368e29c0abdb0d38197f5deecca1bc9ba3b /lib/Getopt/Dakkar.pm
parentmake sure we return undef when stuff is not found (diff)
downloadGetopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.tar.gz
Getopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.tar.bz2
Getopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.zip
I'm losing the plot, here
Diffstat (limited to 'lib/Getopt/Dakkar.pm')
-rw-r--r--lib/Getopt/Dakkar.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar.pm b/lib/Getopt/Dakkar.pm
index f35147b..1432987 100644
--- a/lib/Getopt/Dakkar.pm
+++ b/lib/Getopt/Dakkar.pm
@@ -7,3 +7,7 @@ use Module::Runtime qw(use_module);
with 'Getopt::Dakkar::Role::Command';
has '+name' => ( default => $0 );
+
+sub go($self,$args=\@ARGV) {
+ return $self->parse($args,undef);
+}