File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4984,7 +4984,7 @@ These fields are optionally available:
4984
4984
Lists all capabilities for a user.
4985
4985
4986
4986
~~~
4987
- wp user list-caps <user> [--format=<format>]
4987
+ wp user list-caps <user> [--format=<format>] [--origin=<origin>] [--exclude-role-names]
4988
4988
~~~
4989
4989
4990
4990
** OPTIONS**
@@ -5005,6 +5005,19 @@ wp user list-caps <user> [--format=<format>]
5005
5005
- yaml
5006
5006
---
5007
5007
5008
+ [--origin=<origin>]
5009
+ Render output in a particular format.
5010
+ ---
5011
+ default: all
5012
+ options:
5013
+ - all
5014
+ - user
5015
+ - role
5016
+ ---
5017
+
5018
+ [--exclude-role-names]
5019
+ Exclude capabilities that match role names from output.
5020
+
5008
5021
** EXAMPLES**
5009
5022
5010
5023
$ wp user list-caps 21
You can’t perform that action at this time.
0 commit comments