Skip to content

Commit 684d4d1

Browse files
authored
Merge pull request #447 from wp-cli/regenerate-readme
2 parents 67be24e + 5913048 commit 684d4d1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4984,7 +4984,7 @@ These fields are optionally available:
49844984
Lists all capabilities for a user.
49854985

49864986
~~~
4987-
wp user list-caps <user> [--format=<format>]
4987+
wp user list-caps <user> [--format=<format>] [--origin=<origin>] [--exclude-role-names]
49884988
~~~
49894989

49904990
**OPTIONS**
@@ -5005,6 +5005,19 @@ wp user list-caps <user> [--format=<format>]
50055005
- yaml
50065006
---
50075007

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+
50085021
**EXAMPLES**
50095022

50105023
$ wp user list-caps 21

0 commit comments

Comments
 (0)