Fix group command descriptions in the actionmap

This commit is contained in:
Alexandre Aubin 2019-09-11 03:00:59 +02:00
parent c5d0a27098
commit 97c637f44c

View file

@ -201,11 +201,11 @@ user:
subcategories: subcategories:
group: group:
subcategory_help: Manage group subcategory_help: Manage user groups
actions: actions:
### user_group_list() ### user_group_list()
list: list:
action_help: List group action_help: List existing groups
api: GET /users/groups api: GET /users/groups
arguments: arguments:
-n: -n:
@ -223,7 +223,7 @@ user:
api: POST /users/groups api: POST /users/groups
arguments: arguments:
groupname: groupname:
help: The unique group name to add help: Name of the group to be created
extra: extra:
pattern: &pattern_groupname pattern: &pattern_groupname
- !!str ^[a-z0-9_]+$ - !!str ^[a-z0-9_]+$
@ -235,7 +235,7 @@ user:
api: DELETE /users/groups/<groupname> api: DELETE /users/groups/<groupname>
arguments: arguments:
groupname: groupname:
help: Username to delete help: Name of the group to be deleted
extra: extra:
pattern: *pattern_groupname pattern: *pattern_groupname
@ -245,7 +245,7 @@ user:
api: PUT /users/groups/<groupname> api: PUT /users/groups/<groupname>
arguments: arguments:
groupname: groupname:
help: Username to update help: Name of the group to be updated
extra: extra:
pattern: *pattern_groupname pattern: *pattern_groupname
-a: -a:
@ -265,11 +265,11 @@ user:
### user_group_info() ### user_group_info()
info: info:
action_help: Get group information action_help: Get information for a specific group
api: GET /users/groups/<groupname> api: GET /users/groups/<groupname>
arguments: arguments:
groupname: groupname:
help: Groupname to get information help: Name of the group to get info about
extra: extra:
pattern: *pattern_username pattern: *pattern_username