Skip to content

Global parser configuration if using Runnable #650

@gitfineon

Description

@gitfineon

I tried to apply parser configuration e.g. disallow POSIX Clustered Short Option, but I don't know where to place the CommandLine.setPosixClusteredShortOptionsAllowed(false).

I want to keep it simple and straight forward as possible so I started with your README Example (Runnable) and added three boolean switches ... and now I want to achieve that the clustered version of them will result in an "unknown option" + usage (preferred without showing the options clustered)

I search in the documentation but didn't found an explanation.

I would prefer to have this parser configuration set globally for the whole application, but individually for each command would be okay as well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions