diff --git a/features/user.feature b/features/user.feature index 2d315d45..8e2897b9 100644 --- a/features/user.feature +++ b/features/user.feature @@ -376,6 +376,12 @@ Feature: Manage WordPress users administrator """ + When I run `wp user update 1 --user_pass=new_password` + Then STDOUT should contain: + """ + Success: Updated user 1. + """ + Scenario: Managing user capabilities Given a WP install diff --git a/src/User_Command.php b/src/User_Command.php index bfc8382a..146f461e 100644 --- a/src/User_Command.php +++ b/src/User_Command.php @@ -518,9 +518,6 @@ public function create( $args, $assoc_args ) { * [--role=] * : A string used to set the user's role. * - * --= - * : One or more fields to update. For accepted fields, see wp_update_user(). - * * [--skip-email] * : Don't send an email notification to the user. *