Softhouse / jargo

Argument and options parser for java
Other
17 stars 0 forks source link

Spaces should not be allowed in argument names #24

Closed jontejj closed 11 years ago

jontejj commented 11 years ago

Arguments.integerArgument("foo bar") should cause an IllegalArgumentException as it's impossible to trigger such an argument from the command line as it has a space in it.

It would be possible to trigger it if the arguments didn't come from the command line but that fact does not warrant a lack of this check.