Skip to content

Commit fffb5b9

Browse files
Merge pull request #46 from NETWAYS/remove_double_default
Do not print defaults twice
2 parents 142e6e4 + cba78d8 commit fffb5b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/common/thresholds/thresholds.go

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ func AddFlags(flagP *pflag.FlagSet, ths *[]ThresholdOption) {
5252
desc.WriteString((*ths)[i].Description)
5353

5454
if (*ths)[i].Default.IsSet {
55-
desc.WriteString(" (Default: " + (*ths)[i].Default.Th.String() + ")")
5655
(*ths)[i].Th.IsSet = (*ths)[i].Default.IsSet
5756
(*ths)[i].Th.Th = (*ths)[i].Default.Th
5857
}

0 commit comments

Comments
 (0)