"(e.g. db1.t1), a LIKE pattern (e.g. db1.t% or db%.%) or a " "REGEXP search pattern. To use a REGEXP search pattern for " "all exclusions, you must also specify the --regexp option. " "Repeat the --exclude option for multiple exclusions.") # Add the all database options add_all(parser, "databases") # Add the skip common options add_skip_options(parser) # Add verbosity and quiet (silent) mode add_verbosity(parser, True) # Add engine options add_engines(parser) # Add locking options add_locking(parser) # Add regexp add_regexp(parser) # Replication user and password add_rpl_user(parser, None) # Add replication options but don't include 'both' add_rpl_mode(parser, False, False) # Now we process the rest of the arguments. opt, args = parser.parse_args()
dest="do_drop") # Add the exclude database option add_exclude(parser) # Add the all database options add_all(parser, "databases") # Add the skip common options add_skip_options(parser) # Add verbosity and quiet (silent) mode add_verbosity(parser, True) # Add engine options add_engines(parser) # Add locking options add_locking(parser) # Add regexp add_regexp(parser) # Replication user and password add_rpl_user(parser) # Add replication options but don't include 'both' add_rpl_mode(parser, False, False) # Add ssl options add_ssl_options(parser)