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

I can not replace a word with several hyphens in its name #132

Open
wppunk opened this issue Feb 17, 2020 · 3 comments
Open

I can not replace a word with several hyphens in its name #132

wppunk opened this issue Feb 17, 2020 · 3 comments
Assignees

Comments

@wppunk
Copy link

wppunk commented Feb 17, 2020

I use: wp search-replace "--old-word" "new word"

Error: unknown --old-word parameter

@wojsmol
Copy link
Contributor

wojsmol commented Feb 17, 2020

Hi @mdenisenko
Try wp search-replace '--old-word' "new word"

@wppunk
Copy link
Author

wppunk commented Feb 17, 2020

I have tried this. Same error.

@marksabbath
Copy link
Contributor

I am able to reproduce this issue in my local environment and it does seem to be a bug. Even trying to escape the " and ' it does not work. @schlessera I believe that we could set this one as a bug, and I'm more than happy to work on this one, so feel free to assign me to this issue.

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

3 participants