Uses of Class
com.github.sttk.cliargs.exceptions.InvalidOption

Packages that use InvalidOption
Package
Description
Provides the classes to parse and print comand line arguments.
Provides the exception classes for parsing comand line arguments.
  • Uses of InvalidOption in com.github.sttk.cliargs

    Modifier and Type
    Method
    Description
    void
    Cmd.parse()
    Parses command line arguments without configurations.
    void
    Cmd.parseFor(Object optStore)
    Parses command line arguments and set their option values to the fields of the option store which is passed as the argument of this method.
    Parses command line arguments without configurations but stops parsing when encountering first command argument.
    Parses command line arguments until the first command argument and set their option values to the option store which is passed as an argument.
    Parses command line arguments with option configurations but stops parsing when encountering first command argument.
    void
    Cmd.parseWith(OptCfg[] optCfgs)
    Parses command line arguments with option configurations.
  • Uses of InvalidOption in com.github.sttk.cliargs.exceptions

    Modifier and Type
    Class
    Description
    class 
    Is the exception which indicates that an option configuration contradicts that the default arguments is not empty though it does not take option arguments.
    class 
    Is the exception which indicates that an option configuration contradicts that the option can take multiple arguments though it does not take option arguments.
    class 
    Is the exception which indicates that the option argument is invalidated by the validator in the option configuration.
    class 
    Is the exception which indicates that an invalid character is found in an option.
    class 
    Is the exception which indicates that the option is supposed to take one argument in the configuration, but multiple arguments are specified.
    class 
    Is the exception which indicates that there are duplicated opton names among the option configurations.
    class 
    Is the exception which indicates that the option requires arguments in the configuration, but no argument is specified.
    class 
    Is the exception which indicates that the option is not supposed to take an argument in configuration, but an argument is specified.
    class 
    Is the exception which indicates that there are duplicated store keys among multiple configurations.
    class 
    Is the exception which indicates that there is no configuration about the input option.