GothenburgBitFactory / GothenburgBitFactory/taskwarrior

Improve the error message “No tasks specified.”

Open
#2,145 4 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

#### Feature request

*** Clearly state the use case.

* What command did you run?
task 275 modify due:tomorrow+1d

* What did you expect to happen?
The usual:
Modifying task 275 '…'.
Modified 1 task.
Project '…' is …% complete (x of y tasks remaining).

* What actually happened?
No tasks specified.
Indeed, the task 275 did not exist. It was 273. I may have been tired but I thought I made a syntax error and I reread the whole date & time documentation before noticing it was a typo. Actually, this error message is wrong, the task number was specified (and wrong).

*** Clearly describe the feature.
* What do you suggest?
Improve the error message “No tasks specified.” and:
— either append “(or wrong task number)”;
— or print the right error message: “The task … does not yet exist, you made a typo!”

***
task "Read “How to request a feature” on https://taskwarrior.org/docs/features.html" done.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.