From: AsamK Date: Sat, 15 May 2021 16:53:00 +0000 (+0200) Subject: Update documentation X-Git-Tag: v0.8.4~30 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/5c3fc44d00cb7b18c4c5b4b6b5d7fe09f18973db?hp=761baf72063adfb15d99d39bacce3ebdfbe87d0d Update documentation --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 7515a984..26b0cedb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,16 @@ # Changelog ## [Unreleased] +**Attention**: Now requires native libsignal-client version 0.5.1 + +### Added +- Added new parameters to `updateGroup` for group v2 features: + `--remove-member`, `--admin`, `--remove-admin`, `--reset-link`, `--link`, `--set-permission-add-member`, `--set-permission-edit-details`, `--expiration` + +### Fixed +- Prevent last admin of a group from leaving the group ## [0.8.3] - 2021-05-13 -**Attention**: Now requires native libsignal-client version 0.5.1 ### Fixed - Upgrading from account files with older profiles diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc index 7c2e9ea6..b9a7a9cb 100644 --- a/man/signal-cli.1.adoc +++ b/man/signal-cli.1.adoc @@ -243,12 +243,40 @@ If not specified, a new group with a new random ID is generated. *-n* NAME, *--name* NAME:: Specify the new group name. +*-d* DESCRIPTION, *--description* DESCRIPTION:: +Specify the new group description. + *-a* AVATAR, *--avatar* AVATAR:: Specify a new group avatar image file. *-m* [MEMBER [MEMBER ...]], *--member* [MEMBER [MEMBER ...]]:: Specify one or more members to add to the group. +*-r* [MEMBER [MEMBER ...]], *--remove-member* [MEMBER [MEMBER ...]]:: +Specify one or more members to remove from the group + +*--admin* [MEMBER [MEMBER ...]]:: +Specify one or more members to make a group admin + +*--remove-admin* [MEMBER [MEMBER ...]]:: +Specify one or more members to remove group admin privileges + +*--reset-link*:: +Reset group link and create new link password + +*--link* LINK_STATE:: +Set group link state: `enabled`, `enabled-with-approval`, `disabled` + +*--set-permission-add-member* PERMISSION:: +Set permission to add new group members: `every-member`, `only-admins` + +*--set-permission-edit-details* PERMISSION:: +Set permission to edit group details: `every-member`, `only-admins` + +*-e* EXPIRATION_SECONDS, *--expiration* EXPIRATION_SECONDS:: +Set expiration time of messages (seconds). +To disable expiration set expiration time to 0. + === quitGroup Send a quit group message to all group members and remove self from member list. @@ -324,7 +352,7 @@ Specify the contact phone number. *-n*, *--name*:: Specify the new name for this contact. -*-e*, *--expiration*:: +*-e*, *--expiration* EXPIRATION_SECONDS:: Set expiration time of messages (seconds). To disable expiration set expiration time to 0.