public static class Options.HelpException extends Exception
--help option on a built-in command.
It can be highlighted using the highlight(String, StyleResolver) method and then printed
to the Terminal.| Constructor and Description |
|---|
HelpException(String message) |
| Modifier and Type | Method and Description |
|---|---|
static org.jline.utils.StyleResolver |
defaultStyle() |
static org.jline.utils.AttributedString |
highlight(String msg,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightComment(String comment,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightSyntax(String syntax,
org.jline.utils.StyleResolver resolver) |
static org.jline.utils.AttributedString |
highlightSyntax(String syntax,
org.jline.utils.StyleResolver resolver,
boolean subcommands) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HelpException(String message)
public static org.jline.utils.StyleResolver defaultStyle()
public static org.jline.utils.AttributedString highlight(String msg, org.jline.utils.StyleResolver resolver)
public static org.jline.utils.AttributedString highlightSyntax(String syntax, org.jline.utils.StyleResolver resolver, boolean subcommands)
public static org.jline.utils.AttributedString highlightSyntax(String syntax, org.jline.utils.StyleResolver resolver)
public static org.jline.utils.AttributedString highlightComment(String comment, org.jline.utils.StyleResolver resolver)
Copyright © 2020. All rights reserved.