myapp -foo 3 -foo 4 -foo 5
myapp -bar -nobar -bar -bar -nobar
myapp -bar -nobar -bar -bar -nobar
How do you know what the user wants when they submit such an ambiguous (and arguably incorrect) command line?
--
You received this message because you are subscribed to the Google Groups "jcommander" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jcommander+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
myapp -bar -nobar -bar -bar -nobar
How do you know what the user wants when they submit such an ambiguous (and arguably incorrect) command line?