@@ -125,31 +125,6 @@ class Find_Command {
125
125
* Indicates depth at which the WordPress installations was found, and its
126
126
* alias, if it has one.
127
127
*
128
- * ```
129
- * $ wp find ./
130
- * +--------------------------------------+---------------------+-------+--------+
131
- * | version_path | version | depth | alias |
132
- * +--------------------------------------+---------------------+-------+--------+
133
- * | /Users/wpcli/wp-includes/version.php | 4.8-alpha-39357-src | 2 | @wpcli |
134
- * +--------------------------------------+---------------------+-------+--------+
135
- * ```
136
- *
137
- * ## AVAILABLE FIELDS
138
- *
139
- * These fields will be displayed by default for each installation:
140
- *
141
- * * version_path - Path to the version.php file.
142
- * * version - WordPress version.
143
- * * depth - Directory depth at which the installation was found.
144
- * * alias - WP-CLI alias, if one is registered.
145
- *
146
- * These fields are optionally available:
147
- *
148
- * * wp_path - Path that can be passed to `--path=<path>` global parameter.
149
- * * db_host - Host name for the database.
150
- * * db_user - User name for the database.
151
- * * db_name - Database name for the database.
152
- *
153
128
* ## OPTIONS
154
129
*
155
130
* <path>
@@ -185,6 +160,32 @@ class Find_Command {
185
160
* [--verbose]
186
161
* : Log useful information to STDOUT.
187
162
*
163
+ * ## AVAILABLE FIELDS
164
+ *
165
+ * These fields will be displayed by default for each installation:
166
+ *
167
+ * * version_path - Path to the version.php file.
168
+ * * version - WordPress version.
169
+ * * depth - Directory depth at which the installation was found.
170
+ * * alias - WP-CLI alias, if one is registered.
171
+ *
172
+ * These fields are optionally available:
173
+ *
174
+ * * wp_path - Path that can be passed to `--path=<path>` global parameter.
175
+ * * db_host - Host name for the database.
176
+ * * db_user - User name for the database.
177
+ * * db_name - Database name for the database.
178
+ *
179
+ * ## EXAMPLES
180
+ *
181
+ * # Find WordPress installations.
182
+ * $ wp find ./
183
+ * +--------------------------------------+---------------------+-------+--------+
184
+ * | version_path | version | depth | alias |
185
+ * +--------------------------------------+---------------------+-------+--------+
186
+ * | /Users/wpcli/wp-includes/version.php | 4.8-alpha-39357-src | 2 | @wpcli |
187
+ * +--------------------------------------+---------------------+-------+--------+
188
+ *
188
189
* @when before_wp_load
189
190
*/
190
191
public function __invoke ( $ args , $ assoc_args ) {
0 commit comments