From a1bde1f1fb19c8bdf23ed4d81fcb6329c8d268ca Mon Sep 17 00:00:00 2001 From: msenateatplos Date: Wed, 2 May 2012 17:29:36 -0700 Subject: [PATCH] adds a bit more explanation about the script --- searchreplacedb2cli.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/searchreplacedb2cli.php b/searchreplacedb2cli.php index d2b318e..ef2e93b 100755 --- a/searchreplacedb2cli.php +++ b/searchreplacedb2cli.php @@ -5,6 +5,8 @@ /** * To run this script, execute something like this: * `./searchreplacedb2cli.php -h localhost -u root -d test -c utf\-8 -s "findMe" -r "replaceMe"` + * use the --dry-run flag to do a dry run without searching/replacing. + * this script currently affects all tables in a db there are @TODOs below... */ require_once('searchreplacedb2.php'); // include the proper srdb script