java.lang.Object
org.jline.builtins.Options
Yet another GNU long options parser. This one is configured by parsing its Usage string.
Code coming from Apache Felix Gogo Shell
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException thrown when using the--helpoption on a built-in command. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionargs()static Optionsstatic Optionsstatic Optionsstatic Optionsstatic Optionsstatic OptionsintgetObjectList(String name) booleansetOptionsFirst(boolean optionsFirst) setStopOnBadOption(boolean stopOnBadOption) toString()usage()voidusage(PrintStream err) usageError(String s) Prints usage message and returns IllegalArgumentException, for you to throw.
-
Field Details
-
NL
-
-
Method Details
-
compile
-
compile
-
compile
-
compile
-
compile
-
compile
-
setStopOnBadOption
-
setOptionsFirst
-
isSet
-
getObject
-
getObjectList
-
getList
-
get
-
getNumber
-
argObjects
-
args
-
usage
-
usage
-
usageError
Prints usage message and returns IllegalArgumentException, for you to throw.- Parameters:
s- the message to display- Returns:
- an exception with the generated message
-
parse
-
parse
-
parse
-
parse
-
toString
-