spaces in values
See original GitHub issueI have
@Parameter(names = "-rule", description = "rule")
private List<String> rules = new ArrayList<String>();
but when I pass a value with a space in it jcommander does not like it
./test -rule "some test"
gives
com.beust.jcommander.ParameterException: Was passed main parameter 'test' but no main parameter was defined
Issue Analytics
- State:
- Created 11 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Value Spaces Definition - Bundl
A solid foundation for your future ventures. ... Knowing your value space will enable you to build ventures that deliver real revenue. We'll...
Read more >5 How to deal with empty spaces - Bookdown
5.1 Empty spaces in variable names. After reading data into R, we should have the habit of using names() (or colnames()) to have...
Read more >Python | Same and Different value space - GeeksforGeeks
In Python, we have same pool for similar values, even if they share different variables. This has many advantages, that it saves a...
Read more >Identifying values that have a space - sql - Stack Overflow
I see 3 records always When I execute the below query, with no matter how many extra trailing spaces. SELECT * FROM AB_MASTER_DATA...
Read more >Solved: How to add leading space in values of a variable?
I want to know how to add leading spaces in SAS for values of a character variable. Kindly note that I do not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep this was entirely my bad, thanks @cbeust (i should have been quoting my $@ in my shell script c.f. http://stackoverflow.com/questions/4771755/how-to-pass-arguments-from-wrapper-shell-script-to-java-application )
Set the variable arity true. http://jcommander.org/apidocs/com/beust/jcommander/Parameter.html#variableArity()