Apply suggestions from code review

Update descriptions for action map

Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
This commit is contained in:
Alexandre Aubin 2019-09-21 13:16:28 +02:00 committed by GitHub
parent f0e8ef8456
commit e2e960175b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,11 +270,11 @@ user:
### user_group_info() ### user_group_info()
info: info:
action_help: Get information for a specific group action_help: Get information about a specific group
api: GET /users/groups/<groupname> api: GET /users/groups/<groupname>
arguments: arguments:
groupname: groupname:
help: Name of the group to get info about help: Name of the group to fetch info about
extra: extra:
pattern: *pattern_username pattern: *pattern_username
@ -289,11 +289,11 @@ user:
arguments: arguments:
-s: -s:
full: --short full: --short
help: List only the names of permissions help: Only list permission names
action: store_true action: store_true
-f: -f:
full: --full full: --full
help: Display all informations known about each permissions, including the full list of users corresponding to allowed groups. help: Display all info known about each permission, including the full user list of each group it is granted to.
action: store_true action: store_true
@ -306,14 +306,14 @@ user:
help: Permission to manage (e.g. mail or nextcloud or wordpress.editors) help: Permission to manage (e.g. mail or nextcloud or wordpress.editors)
-a: -a:
full: --add full: --add
help: Group or user names to add to this permission help: Group or usernames to grant this permission to
nargs: "*" nargs: "*"
metavar: GROUP_OR_USER metavar: GROUP_OR_USER
extra: extra:
pattern: *pattern_username pattern: *pattern_username
-r: -r:
full: --remove full: --remove
help: Group or user names to remove from this permission help: Group or usernames revoke this permission from
nargs: "*" nargs: "*"
metavar: GROUP_OR_USER metavar: GROUP_OR_USER
extra: extra: