diff --git a/cmd/admin-subnet-health.go b/cmd/admin-subnet-health.go index a275df7f..b6cec35c 100644 --- a/cmd/admin-subnet-health.go +++ b/cmd/admin-subnet-health.go @@ -593,7 +593,7 @@ type HealthDataTypeFlag struct { // String - returns the string to be shown in the help message func (f HealthDataTypeFlag) String() string { - return fmt.Sprintf("--%s %s", f.Name, f.Usage) + return cli.FlagStringer(f) } // GetName - returns the name of the flag