diff options
Diffstat (limited to 'lib/App/Hiveminder/Command/Todo.pm')
-rw-r--r-- | lib/App/Hiveminder/Command/Todo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hiveminder/Command/Todo.pm b/lib/App/Hiveminder/Command/Todo.pm index d5948eb..8381daa 100644 --- a/lib/App/Hiveminder/Command/Todo.pm +++ b/lib/App/Hiveminder/Command/Todo.pm @@ -13,8 +13,8 @@ App::Hiveminder::Command::Todo - Display the current todo list sub command_names { qw/todo t/ } sub command { - my ($self, $args) = @_; - my %args = %{ parse_args @$args }; + my $self = shift; + my %args = %{ parse_args @_ }; $args{complete_not} = 0 if exists $args{complete} && $args{complete} == 1 && !exists $args{complete_not}; |