Skip to content

Commit 71556e9

Browse files
committed
fix: duplicated print of default value for filter option
1 parent fd4d261 commit 71556e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func main() {
2626
var filterVal float64
2727
var helpFlag bool
2828
pflag.BoolVarP(&helpFlag, "help", "h", false, "Show help for command")
29-
pflag.Float64VarP(&filterVal, "filter", "f", 1.0, "Filter past by float value in years (e.g. 0.5) (default 1.0)")
29+
pflag.Float64VarP(&filterVal, "filter", "f", 1.0, "Filter past by float value in years (e.g. 0.5)")
3030
pflag.Parse()
3131

3232
if helpFlag {

0 commit comments

Comments
 (0)