OSDN Git Service

add missing docs for `user add-role`; improve docs for `user set-role`
authorscribu <mail@scribu.net>
Sat, 13 Jul 2013 15:54:56 +0000 (18:54 +0300)
committerscribu <mail@scribu.net>
Sat, 13 Jul 2013 15:55:00 +0000 (18:55 +0300)
man-src/user-add-role.txt [new file with mode: 0644]
man-src/user-set-role.txt

diff --git a/man-src/user-add-role.txt b/man-src/user-add-role.txt
new file mode 100644 (file)
index 0000000..b6e5ab4
--- /dev/null
@@ -0,0 +1,14 @@
+## OPTIONS
+
+* `<user>`:
+
+       User ID or user login.
+
+* `<role>`:
+
+       Add the specified role to the user.
+
+## EXAMPLES
+
+       wp user set-role bob author
+       wp user set-role 12 author
index 8419029..4817f74 100644 (file)
@@ -6,7 +6,8 @@
 
 * `[<role>]`:
 
-       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