diff --git a/src/dodo.c b/src/dodo.c index c4659b2..3214e6c 100644 --- a/src/dodo.c +++ b/src/dodo.c @@ -385,7 +385,7 @@ int parse_args(int argc, char** argv, filtered_tasks* task){ } if ( argc > 4 ){ - task->due_date = argv[3]; + task->due_date = argv[4]; } if ( argc > 5 ){