Skip to content

Add version flag and show help message for unknown arguments #2

Description

@shv-ng

frec currently has no simple way to check the version, and it gives unclear messages when unknown flags or commands are used.

Examples:

$ frec -v
Incorrect Usage: flag provided but not defined: -v
$ frec version
No help topic for 'version'

It would be useful to support common version commands like:

$ frec -v
$ frec --version
$ frec version

Also, when unknown flags/commands are passed, frec should show a helpful message or the help output instead of just an error.

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