Annotation Type NoUnexpectedArguments


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface NoUnexpectedArguments
    Marks that a CLI does not permit any command line arguments that aren't recognised as either options or arguments.

    Note that if the specified command has an Arguments annotated field then this restriction has no effect because any unrecognised command line arguments are placed into the Arguments annotated field.