-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
bugcommand:user-reset-passwordRelated to 'user reset-password' commandRelated to 'user reset-password' commandgood-first-issueGood for newcomersGood for newcomers
Description
Bug Report
- Yes, I reviewed the contribution guidelines.
- Yes, more specifically, I reviewed the guidelines on how to write clear bug reports.
Describe the current, buggy behavior
The wp user reset-password always shows a Success message, even when provided with an invalid user name.
Describe how other contributors can replicate this bug
- Run
wp user reset-password invalid-user-name - Observe that a
Warningmessage is shown about the invalid user name - Observe that the
Successmessage is still shown and the exit code is0
Describe what you would expect as the correct outcome
I would expect this command to exit with 1 and to display an appropriate error message.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcommand:user-reset-passwordRelated to 'user reset-password' commandRelated to 'user reset-password' commandgood-first-issueGood for newcomersGood for newcomers