try this configuration string:
type Config struct {
MeasurePercent int name:"measure-percent" desc:"measure target percentage" default:50
}
because of the arg
in word target
this gets hung up in the infinite loop when called flagly.Bind(&c)
where c
is instance of Config
above