// BindUint binds uint slice flag with a shorthand if
// 'info.Short' has been set otherwise binds without a short name.
func (params *ParamSet[N]) BindUint(info *FlagInfo, to *uint) *ParamSet[N] {
flagSet := params.ResolveFlagSet(info)
if info.Short == "" {
flagSet.UintVar(to, info.FlagName(), info.Default.(uint), info.Usage)
} else {
flagSet.UintVarP(to, info.FlagName(), info.Short, info.Default.(uint), info.Usage)
}
return params
}
eg:
caused in pixa from the following definition:
Should be handled more gracefully.
could be caused by this code:
ie, Default is being used without being checked.