From 4aa1b85cf80c6a3e443fc0aca013129dcb94920c Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 13 Jul 2013 18:54:56 +0300 Subject: [PATCH] add missing docs for `user add-role`; improve docs for `user set-role` --- man-src/user-add-role.txt | 14 ++++++++++++++ man-src/user-set-role.txt | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 man-src/user-add-role.txt diff --git a/man-src/user-add-role.txt b/man-src/user-add-role.txt new file mode 100644 index 00000000..b6e5ab48 --- /dev/null +++ b/man-src/user-add-role.txt @@ -0,0 +1,14 @@ +## OPTIONS + +* ``: + + User ID or user login. + +* ``: + + Add the specified role to the user. + +## EXAMPLES + + wp user set-role bob author + wp user set-role 12 author diff --git a/man-src/user-set-role.txt b/man-src/user-set-role.txt index 84190293..4817f740 100644 --- a/man-src/user-set-role.txt +++ b/man-src/user-set-role.txt @@ -6,7 +6,8 @@ * `[]`: - Add the user with the specified role. Defaults to blog default. + Make the user have the specified role. If not passed, the default role is +used. ## EXAMPLES -- 2.11.0