GothenburgBitFactory / GothenburgBitFactory/timewarrior
Should arguments that begin with ':' be reserved for hints?
Open
discussion
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 117
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Description
The following output surprised me:
```
$ src/timew track :yesterday foo
Note: 'foo' is a new tag.
Recorded foo
Started 2020-07-23T00:00:00
Ended 24T00:00:00
Total 24:00:00
$ src/timew track :today bar
Note: ':today' is a new tag.
Note: 'bar' is a new tag.
Tracking :today bar
Started 2020-07-24T14:43:52
Current 52
Total 0:00:00
```
My question is should any command line argument that begins with a `:` be interpreted as a hint, and display an error that there is no hint with that name instead of treating it as a tag?
Contributor guide
Assessment
This issue has not been assessed yet.