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
{{ message }}
Repository navigation
Context.IsSet returns false even if StringSlice flag is set #314
Yeppers. My initial attempt to solve this is made more awkward by the slice types being aliases rather than composites. It might be easiest to address this after the merge of #350.
Activity
meatballhat commentedon Apr 29, 2016
Confirmed! Oddly, I'm seeing different behavior when calling
IsSetwith "short" vs "long" flag names (see gist). Still investigating...meatballhat commentedon Apr 29, 2016
😑 https://github.com/codegangsta/cli/blob/222ec6fb7eb8a3da24cfa4017694ba45e3f1f516/context.go#L363-L369
jszwedko commentedon Apr 29, 2016
Hmmm, interesting, seems to have been introduced in #73
meatballhat commentedon Apr 29, 2016
Yeppers. My initial attempt to solve this is made more awkward by the slice types being aliases rather than composites. It might be easiest to address this after the merge of #350.
meatballhat commentedon Apr 29, 2016
I'm going to see if I can tack this bugfix onto #350 yep yep.
jszwedko commentedon May 21, 2016
Fixed by #392 (will be released is v2, but you can use that branch for now if you need the functionality sooner!).