Skip to content

Display a hint on how to open the help when entering a unknown switch #482

@MoritzKn

Description

@MoritzKn

For example: if I enter the cp command with a wrong switch, it displays how to show the help:

$ cp -y
cp: invalid option -- 'y'
Try 'cp --help' for more information.

If you don't want to hard code this, one option would be to give the programmer the ability to specifies an 'unknown option handler'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions