bfgroup / Lyra

A simple to use, composable, command line parser for C++ 11 and beyond
https://bfgroup.github.io/Lyra/
Boost Software License 1.0
471 stars 56 forks source link

Negative values are not rejected for arguments associated with unsigned variables #55

Closed seabadger closed 2 years ago

seabadger commented 2 years ago

lyra::arg constructed with a variable of type uint64_t happily accepts a negative number provided on the commandline. The variable winds up having a very large positive value.