Skip to content

Stop wp-cli execution when there is an unknown parameter#906

Merged
scribu merged 2 commits intowp-cli:masterfrom
rodrigoprimo:invalid-parameters
Dec 3, 2013
Merged

Stop wp-cli execution when there is an unknown parameter#906
scribu merged 2 commits intowp-cli:masterfrom
rodrigoprimo:invalid-parameters

Conversation

@rodrigoprimo
Copy link
Contributor

Fixes #772

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build failed, probably because the whitespace between the two lines didn't match.

I think it would be safer if you split it into two "STDERR should contain" checks.

scribu pushed a commit that referenced this pull request Dec 3, 2013
Stop wp-cli execution when there is an unknown parameter
@scribu scribu merged commit 12cbce6 into wp-cli:master Dec 3, 2013
@scribu
Copy link
Member

scribu commented Dec 3, 2013

Merged; thanks.

@rodrigoprimo rodrigoprimo deleted the invalid-parameters branch December 4, 2013 00:25
@rodrigoprimo
Copy link
Contributor Author

My pleasure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a --dryrun alias

2 participants