diff --git a/args.rkt b/args.rkt index 8dc1816..e9146a6 100644 --- a/args.rkt +++ b/args.rkt @@ -32,7 +32,8 @@ (equal? args-length 2) (equal? (vector-ref args 0) config:remove-command) (real? (string->number (vector-ref args 1))) - (positive? (string->number (vector-ref args 1))) + (or (positive? (string->number (vector-ref args 1))) + (zero? (string->number (vector-ref args 1)))) ;; Length subtract one because the numbering starts at zero (not (> (string->number (vector-ref args 1)) (sub1 (length (util:file->string-list config:path-to-file))))) (util:remove-item-from-list args))]