Skip to content

Add --report and --report-changed-only options.#32

Merged
schlessera merged 1 commit into
masterfrom
issue_27
Sep 16, 2017
Merged

Add --report and --report-changed-only options.#32
schlessera merged 1 commit into
masterfrom
issue_27

Conversation

@gitlost
Copy link
Copy Markdown
Contributor

@gitlost gitlost commented Sep 15, 2017

Issues #27 and #25

Adds --report flag option to suppress report.

Adds --report-changed-only flag option to only report changed fields.

Also suppresses WordPress database error notice if table doesn't exist (taken from db search wp-cli/db-command#29).

Note that skipping if no primary keys needn't be done if doing an "SQL" type search/replace - will do a separate PR for that.

@gitlost gitlost requested a review from a team September 15, 2017 10:45
@gitlost gitlost added the command:search-replace Related to 'search-replace' command label Sep 15, 2017
@schlessera schlessera added this to the 1.0.4 milestone Sep 16, 2017
@schlessera schlessera merged commit 37b63a9 into master Sep 16, 2017
@schlessera schlessera deleted the issue_27 branch September 16, 2017 08:10
danielbachhuber pushed a commit that referenced this pull request Nov 18, 2022
Add --report and --report-changed-only options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:search-replace Related to 'search-replace' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants