Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug of "minus" character #46

Open
BalazsKondrath opened this issue Dec 5, 2018 · 0 comments
Open

Bug of "minus" character #46

BalazsKondrath opened this issue Dec 5, 2018 · 0 comments

Comments

@BalazsKondrath
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant