Accept multi-value input on slice flags #1238
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
Milestone
my urfave/cli version is
v2.3.0
Checklist
Dependency Management
Describe the bug
Multi values on slice flags were acceted on ENV values input but flag values accept only single ones.
To reproduce
I have put the test code here
Observed behavior
Incorrect Usage. invalid value "13.3,14.4" for flag -float64Sclice: strconv.ParseFloat: parsing "13.3,14.4": invalid syntax
Expected behavior
Output:
Additional context
I have put the test code here
Want to fix this yourself?
We'd love to have more contributors on this project! If the fix for this bug is easily explained and very small, free free to create a pull request for it.
Run
go version
and paste its output hereRun
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: