Skip to content

Capturing not used options/values #268

Open
@sn50

Description

@sn50

Let's say I need one option -p as a valid option for my program. Everything else is invalid. I need to capture those invalid ones and, let's say, show them to the user. How am I about to do that?

E.g. for program.exe -g -f file I need to get something like {'g'=> null, 'f'=>"file"} in any form available. I couldn't find out how to do that.

Is it possible? If yes, how to achieve it? Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions