Skip to content

Commit

Permalink
Add hours to age units
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jul 5, 2023
1 parent a54a5c4 commit d5f73d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 0.1.0 - 2023-07-05

- Add h|hour|hours to cli age units

## 0.0.9 - 2023-07-04

- Add "cli age"
Expand Down
3 changes: 3 additions & 0 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ func (r *CLICmd) Run(ctx *Context) error {
"m": "m",
"minute": "m",
"minutes": "m",
"h": "h",
"hour": "h",
"hours": "h",
"d": "d",
"day": "d",
"days": "d",
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func main() {
ctx := kong.Parse(&api,
kong.Vars{
"version": "0.0.9",
"version": "0.1.0",
})
runContext := Context{Debug: api.Debug}
err := ctx.Run(&runContext)
Expand Down

0 comments on commit d5f73d0

Please sign in to comment.