Closed nottledim closed 4 years ago
This function returns null if the argument to an option omited. Should not an option which requires an argument return an error if the argument is missing?
null
Whether an argument is required or not is decided by you, not the library.. there is a validation example here: https://github.com/75lb/command-line-args/wiki/Validation
This function returns
null
if the argument to an option omited. Should not an option which requires an argument return an error if the argument is missing?