GothenburgBitFactory / GothenburgBitFactory/timewarrior

Unable to add tag named "d" to a time interval.

Open
#383 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
1.7k
Forks
117
Avg merge
1d 7h
Merged PRs (30d)
5

Description

When I use `timew tag @18 d`, it should do the following:
`Note: 'd' is a new tag.`
`Added d to @18`

Instead it shows this:
`At least one tag must be specified. See 'timew help tag'.`

When I use `timew tag @18 di`, it works as it is supposed to.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `timew tag @18 d` and compare it with `timew tag @18 di`. Then trace the `timew tag` argument parsing and its help entry point to find why a one-character tag is rejected. Done means `d` is accepted and produces the reported note and confirmation output without regressing longer tags.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.