Title: WP-CLI plugin doesn&#8217;t update with &#8211;minor option
Last modified: November 29, 2019

---

# WP-CLI plugin doesn’t update with –minor option

 *  [bmaderotterdam](https://wordpress.org/support/users/bmaderotterdam/)
 * (@bmaderotterdam)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-plugin-doesnt-update-with-minor-option/)
 * We have multiple website’s with wordpress and we are updating them with WP-CLI.
   
   Most plugin’s are updated fine to the latest minor version. But some plugin’s
   are not recognized as minor updates.
 * When we call **/usr/local/bin/wp plugin update –minor –all –dry-run** on 1 of
   the sites the result is:
    **No plugin updates available.**
 * But when i remove the –minor option we are calling it without the –minor option
   we get the following result
 * +—————————-+——–+———+—————-+
    | name | status | version | update_version | +—————————-
   +——–+———+—————-+ | advanced-custom-fields-pro | active | 5.8.5 | 5.8.7 | | gravityforms
   | active | 2.4.14 | 2.4.15 | +—————————-+——–+———+—————-+
 * Both plugin’s have patch version updates so they should also have been in the
   results with the –minor option
 * how does WP-CLI check if a plugin has a major, minor, patch update?
    I like to
   contact the plugin makers and tell them what to do to fix this bug

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-plugin-doesnt-update-with-minor-option/#post-12188949)
 * `$ wp plugin update --all --minor`
    [https://developer.wordpress.org/cli/commands/plugin/update/](https://developer.wordpress.org/cli/commands/plugin/update/)
   I think that –all must be the first argument
 *  Thread Starter [bmaderotterdam](https://wordpress.org/support/users/bmaderotterdam/)
 * (@bmaderotterdam)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-plugin-doesnt-update-with-minor-option/#post-12195319)
 * Most plugins are updated correctly but to be sure i tested it with –all in front
   of –minor.
    It doesn’t mather if –all is in front or behind –minor, both ways
   these 2 plugin’s are not updated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP-CLI plugin doesn’t update with –minor option’ is closed to new replies.

## Tags

 * [minor](https://wordpress.org/support/topic-tag/minor/)
 * [update](https://wordpress.org/support/topic-tag/update/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [bmaderotterdam](https://wordpress.org/support/users/bmaderotterdam/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/wp-cli-plugin-doesnt-update-with-minor-option/#post-12195319)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
