Skip to content

Bug of "minus" character #46

@BalazsKondrath

Description

@BalazsKondrath

Hi,

There's a bug with the handling of minus sign if the text is starting with it. No matter if the string to send is inside '' or "".

notify -V
0.1.5

Examples:
notify --text '--blah'
error: unknown option `--blah'

notify --text "--blah"
error: unknown option `--blah'

notify --text -blah
Usage: notify [options]
[...]

notify --text "blah"
[notify] Notifying [....]

notify --text "-blah"
Usage: notify [options]
[...]

Br,
B.

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