You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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)
ifinfo.Short=="" {
flagSet.UintVar(to, info.FlagName(), info.Default.(uint), info.Usage)
} else {
flagSet.UintVarP(to, info.FlagName(), info.Short, info.Default.(uint), info.Usage)
}
returnparams
}
ie, Default is being used without being checked.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: