summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command/Todo.pm
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 02:33:48 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 02:33:48 -0500
commite63ecb6cec0021948fea4c09925d4b7511d39eff (patch)
treeba56e7756e6dbc455ce44e283f7d27399fd0c5af /lib/App/Hiveminder/Command/Todo.pm
parent60a9efacdb5f45029638c197f4166d55366f6428 (diff)
downloadapp-hiveminder-e63ecb6cec0021948fea4c09925d4b7511d39eff.tar.gz
app-hiveminder-e63ecb6cec0021948fea4c09925d4b7511d39eff.zip
have the base command class pass in the arguments to the command as a list instead of an arrayref
Diffstat (limited to 'lib/App/Hiveminder/Command/Todo.pm')
-rw-r--r--lib/App/Hiveminder/Command/Todo.pm4
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};