akamensky / argparse

Argparse for golang. Just because `flag` sucks
MIT License
604 stars 62 forks source link

Float Default interface should convert to float #14

Closed JaikrishnaTS closed 6 years ago

JaikrishnaTS commented 6 years ago

This bug was discovered while writing the sleep example from #15

akamensky commented 6 years ago

Oh, great catch!

I will merge this one, but I highly suggest also looking into my tests, I think it failed because I used 0 there. May need to add another test or fix existing one.

Thanks!