File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ class DB_Command extends WP_CLI_Command {
7373 * [--dbpass=<value>]
7474 * : Password to pass to mysql. Defaults to DB_PASSWORD.
7575 *
76+ * [--defaults]
77+ * : Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
78+ *
7679 * ## EXAMPLES
7780 *
7881 * $ wp db create
@@ -103,6 +106,9 @@ public function create( $_, $assoc_args ) {
103106 * [--yes]
104107 * : Answer yes to the confirmation message.
105108 *
109+ * [--defaults]
110+ * : Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
111+ *
106112 * ## EXAMPLES
107113 *
108114 * $ wp db drop --yes
@@ -134,6 +140,9 @@ public function drop( $_, $assoc_args ) {
134140 * [--yes]
135141 * : Answer yes to the confirmation message.
136142 *
143+ * [--defaults]
144+ * : Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
145+ *
137146 * ## EXAMPLES
138147 *
139148 * $ wp db reset --yes
@@ -165,6 +174,9 @@ public function reset( $_, $assoc_args ) {
165174 * [--yes]
166175 * : Answer yes to the confirmation message.
167176 *
177+ * [--defaults]
178+ * : Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.
179+ *
168180 * ## EXAMPLES
169181 *
170182 * # Delete all tables that match the current site prefix.
You can’t perform that action at this time.
0 commit comments