sparksuite / waterfall-cli

Coming soon... Effortlessly create CLIs powered by Node.js
MIT License
5 stars 3 forks source link

Options defined as `float` appear to error when the value is negative #521

Open Peter-Sparksuite opened 6 months ago

Peter-Sparksuite commented 6 months ago

I defined an options as being a float, but, when it's provided and the value is negative, it appears to not be being handled correctly:

% command-name --float-option -0.1

 ERROR 

The option --float-option expects a float
Provided: -0.1