X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/8e8de2fe3922f3e06c0ccd24213fb7c2e7fbfce9..fd550d6088d2561e7dad5a8b123c142e1a4bd6f7:/man/signal-cli.1.adoc?ds=inline

diff --git a/man/signal-cli.1.adoc b/man/signal-cli.1.adoc
index d4a85104..d8e0cb90 100644
--- a/man/signal-cli.1.adoc
+++ b/man/signal-cli.1.adoc
@@ -34,7 +34,8 @@ Options
 
 *--config* CONFIG::
 	Set the path, where to store the config.
-	(Default: $HOME/.config/signal)
+	Make sure you have full read/write access to the given directory.
+	(Default: `$XDG_DATA_HOME/signal-cli` (`$HOME/.local/share/signal-cli`))
 
 *-u* USERNAME, *--username* USERNAME::
 	Specify your phone number, that will be your identifier.
@@ -65,6 +66,9 @@ Verify the number using the code received via SMS or voice.
 VERIFICATIONCODE::
 	The verification code.
 
+*-p* PIN, *--pin* PIN::
+	The registration lock PIN, that was set by the user. Only required if a PIN was set.
+
 unregister
 ~~~~~~~~~~
 Disable push support for this device, i.e. this device won't receive any more messages.
@@ -77,6 +81,17 @@ updateAccount
 Update the account attributes on the signal server.
 Can fix problems with receiving messages.
 
+setPin
+~~~~~~
+Set a registration lock pin, to prevent others from registering this number.
+
+REGISTRATION_LOCK_PIN::
+    The registration lock PIN, that will be required for new registrations (resets after 7 days of inactivity)
+
+removePin
+~~~~~~~~~
+Remove the registration lock pin.
+
 link
 ~~~~
 Link to an existing device, instead of registering a new number.  This shows a
@@ -135,6 +150,8 @@ attachments are downloaded to the config directory.
 	Default is 5 seconds.
 *--ignore-attachments*::
 	Donât download attachments of received messages.
+*--json*::
+	Output received messages in json format, one object per line.
 
 updateGroup
 ~~~~~~~~~~~
@@ -160,6 +177,12 @@ Send a quit group message to all group members and remove self from member list.
 *-g* GROUP, *--group* GROUP::
 	Specify the recipient group ID in base64 encoding.
 
+listGroups
+~~~~~~~~~~~
+Show a list of known groups.
+
+*-d*, *--detailed*::
+	Include the list of members of each group.
 
 listIdentities
 ~~~~~~~~~~~~~~
@@ -236,9 +259,11 @@ Files
 The password and cryptographic keys are created when registering and stored in the
 current users home directory, the directory can be changed with *--config*:
 
-    $HOME/.config/signal/
+`$XDG_DATA_HOME/signal-cli/` (`$HOME/.local/share/signal-cli/`)
 
-For legacy users, the old config directory is used as a fallback:
+For legacy users, the old config directories are used as a fallback:
+
+    $HOME/.config/signal/
 
     $HOME/.config/textsecure/
 
