Package jargs.gnu

Class CmdLineParser.NotFlagException

All Implemented Interfaces:
Serializable
Enclosing class:
CmdLineParser

public static class CmdLineParser.NotFlagException extends CmdLineParser.UnknownOptionException
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more requires a value. getMessage() returns an english human-readable error string.
Author:
Vidar Holen
See Also:
  • Method Details

    • getOptionChar

      public char getOptionChar()
      Gets the option char.
      Returns:
      the first character which wasn't a boolean (e.g 'c')