Interface CommandRegistration.HelpOptionsSpec
- All Known Implementing Classes:
CommandRegistration.DefaultHelpOptionsSpec
- Enclosing interface:
- CommandRegistration
public static interface CommandRegistration.HelpOptionsSpec
Spec defining help options.
-
Method Summary
Modifier and TypeMethodDescriptionand()
Return a builder for chaining.Sets command used for help.enabled
(boolean enabled) Whether help options are enabled.Sets long names options for help.shortNames
(Character... shortNames) Sets short names options for help.
-
Method Details
-
enabled
Whether help options are enabled.- Parameters:
enabled
- the enabled flag- Returns:
- a help option for chaining
-
longNames
Sets long names options for help.- Parameters:
longNames
- the long names- Returns:
- a help option for chaining
-
shortNames
Sets short names options for help.- Parameters:
shortNames
- the short names- Returns:
- a help option for chaining
-
command
Sets command used for help.- Parameters:
command
- the command- Returns:
- a help option for chaining
-
and
Return a builder for chaining.- Returns:
- a builder for chaining
-