Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4984,7 +4984,7 @@ These fields are optionally available:
Lists all capabilities for a user.

~~~
wp user list-caps <user> [--format=<format>]
wp user list-caps <user> [--format=<format>] [--origin=<origin>] [--exclude-role-names]
~~~

**OPTIONS**
Expand All @@ -5005,6 +5005,19 @@ wp user list-caps <user> [--format=<format>]
- yaml
---

[--origin=<origin>]
Render output in a particular format.
---
default: all
options:
- all
- user
- role
---

[--exclude-role-names]
Exclude capabilities that match role names from output.

**EXAMPLES**

$ wp user list-caps 21
Expand Down