]> nmode's Git Repositories - signal-cli/blobdiff - man/signal-cli-dbus.5.adoc
Fix making man pages
[signal-cli] / man / signal-cli-dbus.5.adoc
index e07e46668a803c34191fe70249e39328361d654e..a475eadc66c89b768f05c2a76a8cd77440b9c717 100644 (file)
@@ -8,7 +8,7 @@ vim:set ts=4 sw=4 tw=82 noet:
 
 == Name
 
-DBus API for signal-cli - A commandline and dbus interface for the Signal messenger
+signal-cli-dbus - A commandline and dbus interface for the Signal messenger
 
 == Synopsis
 
@@ -64,15 +64,12 @@ link(newDeviceName<s>) -> deviceLinkUri<s>::
 
 Returns a URI of the form "sgnl://linkdevice?uuid=...".
 This can be piped to a QR encoder to create a display that can be captured by a Signal smartphone client.
-For example:
 
-[source]
+For example:
 
-----
+```
 dbus-send --session --dest=org.asamk.Signal --type=method_call --print-reply /org/asamk/Signal org.asamk.Signal.link string:"My secondary client" | tr '\n' '\0' | sed 's/.*string //g' | sed 's/\"//g' | qrencode -s10 -tANSI256
-----
-
-Exceptions: Failure
+```
 
 listAccounts() -> accountList<as>::
 * accountList : Array of all attached accounts in DBus object path form