]> nmode's Git Repositories - signal-cli/blobdiff - man/signal-cli.1.adoc
Change meaning of -v flag from --version to --verbose
[signal-cli] / man / signal-cli.1.adoc
index 6258243a5a6387177216556775f8e065a0e6b8db..fabca9d4f87d82b94a4713c07f24da0e2e64d68a 100644 (file)
@@ -31,10 +31,10 @@ In daemon mode messages are continuously received.
 *-h*, *--help*::
 Show help message and quit.
 
-*-v*, *--version*::
+*--version*::
 Print the version and quit.
 
-*--verbose*::
+*-v*, *--verbose*::
 Raise log level and include lib signal logs.
 
 *--log-file* LOG_FILE::
@@ -231,6 +231,9 @@ Read the message from standard input.
 
 *-a* [ATTACHMENT [ATTACHMENT ...]], *--attachment* [ATTACHMENT [ATTACHMENT ...]]::
 Add one or more files as attachment.
+Can be either a file path or a data URI. Data URI encoded attachments must follow the RFC 2397.
+Additionally a file name can be added:
+e.g.: `data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>`
 
 *--sticker* STICKER::
 Send a sticker of a locally known sticker pack (syntax: stickerPackId:stickerId).