Skip to content

Commit

Permalink
fix: duplicated print of default value for filter option
Browse files Browse the repository at this point in the history
  • Loading branch information
yanskun committed May 10, 2024
1 parent fd4d261 commit 71556e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
var filterVal float64
var helpFlag bool
pflag.BoolVarP(&helpFlag, "help", "h", false, "Show help for command")
pflag.Float64VarP(&filterVal, "filter", "f", 1.0, "Filter past by float value in years (e.g. 0.5) (default 1.0)")
pflag.Float64VarP(&filterVal, "filter", "f", 1.0, "Filter past by float value in years (e.g. 0.5)")
pflag.Parse()

if helpFlag {
Expand Down

0 comments on commit 71556e9

Please sign in to comment.