Skip to content

Missing error when run without arguments #168

@bjornfor

Description

@bjornfor

I'm used to programs that, when called without arguments, either do something obvious, or error out with hints to the user how to proceed. matrix-commander-rs does neither:

$ matrix-commander-rs
$ echo $?
0

It'd be great if it printed a short usage text, or said "Missing arguments, please see --help". And exited with non-zero status.

Tested version 1.0.0 (currently latest). (The same behaviour was observed in 0.10.0.)

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