Update documentation.

config-resource
Martin Dosch 3 years ago
parent d36c836276
commit 2661ef6cd0

@ -48,6 +48,12 @@ setting:
eval_password: <command_to_unlock_your_password>
```
You can also configure the resource (and nickname for MUCs) via the `resource` setting:
```
resource: <my_resourceY>
```
If no configuration file is present or if the values should be overridden it is possible to define
the account details via command line options:

@ -1,6 +1,6 @@
.\" generated with Ronn-NG/v0.9.1
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
.TH "GO\-SENDXMPP" "5" "March 2021" ""
.TH "GO\-SENDXMPP" "5" "June 2021" ""
.SH "NAME"
\fBgo\-sendxmpp\fR \- A little tool to send messages to an XMPP contact or MUC\.
.SH "LOCATION"
@ -14,7 +14,7 @@ port: [\fIjabber_port\fR]
.br
password: [\fIyour_jabber_password\fR]
.br
eval_password: [\fIcommand_to_unlock_your_password\fR]
eval_password: [\fIcommand_to_unlock_your_password\fR] resource: [\fIyour_resource\fR]
.SH "REQUIRED SETTINGS"
If all necessary settings are supplied as command line arguments no config file is needed at all\. Setting \fBjserver\fR and \fBport\fR might not be necessary depending on the used server\.
.br

@ -87,7 +87,8 @@ specified with -f or --file. The configuration file is expected to be in the fol
jserver: [<var>jabber_server</var>] <br>
port: [<var>jabber_port</var>] <br>
password: [<var>your_jabber_password</var>] <br>
eval_password: [<var>command_to_unlock_your_password</var>]</p>
eval_password: [<var>command_to_unlock_your_password</var>]
resource: [<var>your_resource</var>]</p>
<h2 id="REQUIRED-SETTINGS">REQUIRED SETTINGS</h2>
@ -111,11 +112,11 @@ License: BSD 2-clause License</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p><a class="man-ref" href="go-sendxmpp.1.html">go-sendxmpp<span class="s">(1)</span></a>, <span class="man-ref">sendxmpp<span class="s">(1)</span></span></p>
<p><span class="man-ref">go-sendxmpp<span class="s">(1)</span></span>, <span class="man-ref">sendxmpp<span class="s">(1)</span></span></p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>March 2021</li>
<li class='tc'>June 2021</li>
<li class='tr'>go-sendxmpp(5)</li>
</ol>

@ -14,6 +14,7 @@ jserver: [<jabber_server>]
port: [<jabber_port>]
password: [<your_jabber_password>]
eval_password: [<command_to_unlock_your_password>]
resource: [<your_resource>]
## REQUIRED SETTINGS

Loading…
Cancel
Save