Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix completion with dashes #4

Merged
merged 2 commits into from
May 17, 2016
Merged

Fix completion with dashes #4

merged 2 commits into from
May 17, 2016

Conversation

terlar
Copy link
Contributor

@terlar terlar commented May 16, 2016

If I write something like curl --he it currently crashes on this
string match line. This should solve this by telling the string command
that it won't be any switches after this ---mark.

If I write something like curl --he<tab> it currently crashes on this
string match line. This should solve this by telling the string command
that it won't be any switches after this `--`-mark.
@laughedelic
Copy link
Owner

Thanks for the fix @terlar! I think it should be added to all the other string calls as well.

As the input might be using dashes we need to use double dashes to tell
the command that there won't be any more options.
@terlar
Copy link
Contributor Author

terlar commented May 17, 2016

@laughedelic I added -- to all string and also commandline oprations that I found.

@laughedelic
Copy link
Owner

Great! I'm going to merge and publish 0.3.2 with this fix.

@laughedelic laughedelic merged commit 5da3dd4 into laughedelic:master May 17, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants