caseneuve / dzira

Interact with jira worklogs using API
MIT License
3 stars 1 forks source link

Fix parsing for minutes lower than 10 in `log` command #45

Open caseneuve opened 2 months ago

caseneuve commented 2 months ago

Currenlty it gives the following error:

$ dzira log 999 -t 5m
Usage: dzira log [OPTIONS] ISSUE

Error: Invalid value for '-t' / '--time': time cannot be greater than 8h (1 day), and has to be in format '[Nh][ N[m]]' or 'Nm', e.g. '2h', '91m', '4h 37m', '1h59'.

It only works for -t 05m etc.