Is it possible to disable long options with single hyphen?

6 views
Skip to first unread message

Florian

unread,
Jun 19, 2018, 11:01:54 AM6/19/18
to jopt-simple
When I specify optionsParser.accept("foo"), both --foo and -foo will be accepted.
I would like to change the behaviour so -foo would produce an error.
Is that currently possible?
Reply all
Reply to author
Forward
0 new messages