diff options
Diffstat (limited to 'lib/App/Hiveminder/Command/List.pm')
-rw-r--r-- | lib/App/Hiveminder/Command/List.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hiveminder/Command/List.pm b/lib/App/Hiveminder/Command/List.pm index e7746a6..fe8f993 100644 --- a/lib/App/Hiveminder/Command/List.pm +++ b/lib/App/Hiveminder/Command/List.pm @@ -13,11 +13,11 @@ App::Hiveminder::Command::List - List tasks sub command_names { qw/list ls find/ } sub command { - my ($self, $args) = @_; + my $self = shift; return unless @_ > 0; return display_tasks($self->hm, - $self->hm->get_tasks(%{ parse_args @$args })); + $self->hm->get_tasks(%{ parse_args @_ })); } 1; |