Skip to content

update prompt doesn't say what is being updated #5107

@benlk

Description

@benlk

(This issue should be moved to the appropriate component repo if this functionality is not part of wp-cli's core functionality, and closed if this has been fixed in newer versions of wp-cli.)

Consider the following command-line output from wp-cli 2.0.1:

$ wp help plugin install
You have version 2.0.1. Would you like to update to 2.1.0? [y/n]

The user appears to be running a help command. Why would wp-cli be asking to update an undefined something?

In this message:

  • make it clear that this message is from wp-cli, not something that may have hijacked wp-cli's help function
  • make it clear that wp-cli is asking to upgrade wp-cli, not a plugin or something else

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions