Skip to content

Commit

Permalink
add missing version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Jul 31, 2024
1 parent b87b0c9 commit 2a2a4d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type CommandArgs struct {
Until string `short:"u" default:"now" help:"End of the time window to filter logs. Supported units are [s]econds, [m]inutes, [h]ours, [d]ays, [w]eeks, [M]onths"`
Limit int `short:"l" default:"5" help:"Amount of results to return"`
Where []string `short:"w" optional:"" help:"Filter expressions. Example: -w useragent=Safari -w status=200"`
Version kong.VersionFlag `short:"v"`
}

// Use a var to get current time, allowing for tests to override it
Expand Down

0 comments on commit 2a2a4d9

Please sign in to comment.