@@ -52,6 +52,7 @@ class Plugin_Command extends \WP_CLI\CommandWithUpgrade {
5252 'status ' ,
5353 'update ' ,
5454 'version ' ,
55+ 'update_version ' ,
5556 'auto_update ' ,
5657 );
5758
@@ -1176,10 +1177,10 @@ public function delete( $args, $assoc_args = array() ) {
11761177 * * status
11771178 * * update
11781179 * * version
1180+ * * update_version
11791181 *
11801182 * These fields are optionally available:
11811183 *
1182- * * update_version
11831184 * * update_package
11841185 * * update_id
11851186 * * title
@@ -1192,22 +1193,22 @@ public function delete( $args, $assoc_args = array() ) {
11921193 *
11931194 * # List active plugins on the site.
11941195 * $ wp plugin list --status=active --format=json
1195- * [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2"},{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3"},{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4"},{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1"}]
1196+ * [{"name":"dynamic-hostname","status":"active","update":"none","version":"0.4.2","update_version": "" },{"name":"tinymce-templates","status":"active","update":"none","version":"4.4.3","update_version": "" },{"name":"wp-multibyte-patch","status":"active","update":"none","version":"2.4","update_version": "" },{"name":"wp-total-hacks","status":"active","update":"none","version":"2.0.1","update_version": " "}]
11961197 *
11971198 * # List plugins on each site in a network.
11981199 * $ wp site list --field=url | xargs -I % wp plugin list --url=%
1199- * +---------+----------------+--------+---------+
1200- * | name | status | update | version |
1201- * +---------+----------------+--------+---------+
1202- * | akismet | active-network | none | 3.1.11 |
1203- * | hello | inactive | none | 1.6 |
1204- * +---------+----------------+--------+---------+
1205- * +---------+----------------+--------+---------+
1206- * | name | status | update | version |
1207- * +---------+----------------+--------+---------+
1208- * | akismet | active-network | none | 3.1.11 |
1209- * | hello | inactive | none | 1.6 |
1210- * +---------+----------------+--------+---------+
1200+ * +---------+----------------+--------+---------+----------------+
1201+ * | name | status | update | version | update_version |
1202+ * +---------+----------------+--------+---------+----------------+
1203+ * | akismet | active-network | none | 3.1.11 | |
1204+ * | hello | inactive | none | 1.6 | 1.7.2 |
1205+ * +---------+----------------+--------+---------+----------------+
1206+ * +---------+----------------+--------+---------+----------------+
1207+ * | name | status | update | version | update_version |
1208+ * +---------+----------------+--------+---------+----------------+
1209+ * | akismet | active-network | none | 3.1.11 | |
1210+ * | hello | inactive | none | 1.6 | 1.7.2 |
1211+ * +---------+----------------+--------+---------+----------------+
12111212 *
12121213 * @subcommand list
12131214 */
0 commit comments