Creates an option name with both long and short forms.
Creates an option name with both long and short forms.
a long name
a short name
IllegalArgumentException
if lname
or sname
does not conform to naming constraints
Creates an option name with short form only.
Creates an option name with short form only.
a short name
IllegalArgumentException
if sname
does not conform to naming constraints
Creates an option name with long form only.
Creates an option name with long form only.
a long name
IllegalArgumentException
if lname
does not conform to naming constraints
Constructs OptName values.