Change manpage formatting.

Seems there was a change in ronn which output I
don't like so I changed the manpage to look like
they did before.
v0.3
Martin Dosch 2 years ago
parent 9c4b1f3124
commit 98624459b1

@ -10,43 +10,41 @@ A little tool to send messages to an XMPP contact or MUC inspired by (but not as
.br
You can either pipe a programs output to \fBgo\-sendxmpp\fR, write in your terminal (put \fB^D\fR in a new line to finish) or send the input from a file (\fB\-m\fR or \fB\-\-message\fR)\. The account data is expected at \fB~/\.config/go\-sendxmpp/sendxmpprc\fR (preferred) or \fB~/\.sendxmpprc\fR (for compatibility with the original perl sendxmpp) if no other configuration file location is specified with \fB\-f\fR or \fB\-\-file\fR\.
.SH "OPTIONS"
.IP "\[ci]" 4
\fB\-c\fR, \fB\-\-chatroom\fR=[\fIvalue\fR]: Send message to a chatroom\.
.IP "\[ci]" 4
.P
\fB\-d\fR, \fB\-\-debug\fR: Show debugging info\.
.IP "\[ci]" 4
.P
\fB\-f\fR, \fB\-\-file\fR=[\fIvalue\fR]: Set configuration file\. (Default: ~/\.sendxmpprc)
.IP "\[ci]" 4
.P
\fB\-\-help\fR: Show help\.
.IP "\[ci]" 4
.P
\fB\-\-http\-upload=\fR[\fIvalue\fR]: Send a file via http\-upload\.
.IP "\[ci]" 4
.P
\fB\-i\fR, \fB\-\-interactive\fR: Interactive mode (for use with e\.g\. \fBtail \-f\fR)\.
.IP "\[ci]" 4
.P
\fB\-j\fR, \fB\-\-jserver\fR=[\fIvalue\fR]: XMPP server address\.
.IP "\[ci]" 4
.P
\fB\-l\fR, \fB\-\-listen\fR: Listen for messages and print them to stdout\. If JIDs are specified only messages from those contacts are shown\. If no JIDs are specified all received messages will be shown\.
.IP "\[ci]" 4
.P
\fB\-m\fR, \fB\-\-message\fR=[\fIvalue\fR]: Set file including the message\.
.IP "\[ci]" 4
.P
\fB\-n\fR, \fB\-\-no\-tls\-verify\fR: Skip verification of TLS certificates (not recommended)\.
.IP "\[ci]" 4
.P
\fB\-\-tls\-version\fR=[\fIvalue\fR]: Minimal TLS version\. 10 (TSLv1\.0), 11 (TLSv1\.1) (Default: 12)
.IP "\[ci]" 4
.P
\fB\-p\fR, \fB\-\-password\fR=[\fIvalue\fR]: Password for XMPP account\.
.IP "\[ci]" 4
.P
\fB\-\-raw\fR: Send raw XML\. To send raw XML to a contact as normal chat message no contact must be specified\. To send raw XML to a MUC you have to specify the MUC via \fB\-c\fR and \fBgo\-sendxmpp\fR will join the MUC\.
.IP "\[ci]" 4
.P
\fB\-r\fR, \fB\-\-resource\fR=[\fIvalue\fR]: Set resource\. When sending to a chatroom this is used as 'alias'\.
.IP "\[ci]" 4
.P
\fB\-\-timeout=\fR[\fIvalue\fR]: Connection timeout in seconds\. (Default: 10)
.IP "\[ci]" 4
.P
\fB\-t\fR, \fB\-\-tls\fR: Use direct TLS\.
.IP "\[ci]" 4
.P
\fB\-u\fR, \fB\-\-username\fR=[\fIvalue\fR]: Username for XMPP account (JID)\.
.IP "\[ci]" 4
.P
\fB\-\-version\fR: Show version information\.
.IP "" 0
.SH "CHAT"
Feel free to join \fIhttps://join\.jabber\.network/#go\-sendxmpp@chat\.mdosch\.de?join\fR\.
.SH "AUTHOR"

@ -91,82 +91,60 @@ compatibility with the original perl sendxmpp) if no other configuration file lo
<h2 id="OPTIONS">OPTIONS</h2>
<ul>
<li>
<p><code>-c</code>, <code>--chatroom</code>=[<var>value</var>]:
Send message to a chatroom.</p>
</li>
<li>
<p><code>-d</code>, <code>--debug</code>:
Show debugging info.</p>
</li>
<li>
<p><code>-f</code>, <code>--file</code>=[<var>value</var>]:
Set configuration file. (Default: ~/.sendxmpprc)</p>
</li>
<li>
<p><code>--help</code>:
Show help.</p>
</li>
<li>
<p><code>--http-upload=</code>[<var>value</var>]:
Send a file via http-upload.</p>
</li>
<li>
<p><code>-i</code>, <code>--interactive</code>:
Interactive mode (for use with e.g. <code>tail -f</code>).</p>
</li>
<li>
<p><code>-j</code>, <code>--jserver</code>=[<var>value</var>]:
XMPP server address.</p>
</li>
<li>
<p><code>-l</code>, <code>--listen</code>:
Listen for messages and print them to stdout. If JIDs are specified only messages from those contacts
are shown. If no JIDs are specified all received messages will be shown.</p>
</li>
<li>
<p><code>-m</code>, <code>--message</code>=[<var>value</var>]:
Set file including the message.</p>
</li>
<li>
<p><code>-n</code>, <code>--no-tls-verify</code>:
Skip verification of TLS certificates (not recommended).</p>
</li>
<li>
<p><code>--tls-version</code>=[<var>value</var>]:
Minimal TLS version. 10 (TSLv1.0), 11 (TLSv1.1) (Default: 12)</p>
</li>
<li>
<p><code>-p</code>, <code>--password</code>=[<var>value</var>]:
Password for XMPP account.</p>
</li>
<li>
<p><code>--raw</code>:
Send raw XML. To send raw XML to a contact as normal chat message no contact must be specified.
To send raw XML to a MUC you have to specify the MUC via <code>-c</code> and <code>go-sendxmpp</code> will join the MUC.</p>
</li>
<li>
<p><code>-r</code>, <code>--resource</code>=[<var>value</var>]:
Set resource. When sending to a chatroom this is used as
'alias'.</p>
</li>
<li>
<p><code>--timeout=</code>[<var>value</var>]:
Connection timeout in seconds. (Default: 10)</p>
</li>
<li>
<p><code>-t</code>, <code>--tls</code>:
Use direct TLS.</p>
</li>
<li>
<p><code>-u</code>, <code>--username</code>=[<var>value</var>]:
Username for XMPP account (JID).</p>
</li>
<li>
<p><code>--version</code>: Show version information.</p>
</li>
</ul>
<p><code>-c</code>, <code>--chatroom</code>=[<var>value</var>]:
Send message to a chatroom.</p>
<p><code>-d</code>, <code>--debug</code>:
Show debugging info.</p>
<p><code>-f</code>, <code>--file</code>=[<var>value</var>]:
Set configuration file. (Default: ~/.sendxmpprc)</p>
<p><code>--help</code>:
Show help.</p>
<p><code>--http-upload=</code>[<var>value</var>]:
Send a file via http-upload.</p>
<p><code>-i</code>, <code>--interactive</code>:
Interactive mode (for use with e.g. <code>tail -f</code>).</p>
<p><code>-j</code>, <code>--jserver</code>=[<var>value</var>]:
XMPP server address.</p>
<p><code>-l</code>, <code>--listen</code>:
Listen for messages and print them to stdout. If JIDs are specified only messages from those contacts
are shown. If no JIDs are specified all received messages will be shown.</p>
<p><code>-m</code>, <code>--message</code>=[<var>value</var>]:
Set file including the message.</p>
<p><code>-n</code>, <code>--no-tls-verify</code>:
Skip verification of TLS certificates (not recommended).</p>
<p><code>--tls-version</code>=[<var>value</var>]:
Minimal TLS version. 10 (TSLv1.0), 11 (TLSv1.1) (Default: 12)</p>
<p><code>-p</code>, <code>--password</code>=[<var>value</var>]:
Password for XMPP account.</p>
<p><code>--raw</code>:
Send raw XML. To send raw XML to a contact as normal chat message no contact must be specified.
To send raw XML to a MUC you have to specify the MUC via <code>-c</code> and <code>go-sendxmpp</code> will join the MUC.</p>
<p><code>-r</code>, <code>--resource</code>=[<var>value</var>]:
Set resource. When sending to a chatroom this is used as 'alias'.</p>
<p><code>--timeout=</code>[<var>value</var>]:
Connection timeout in seconds. (Default: 10)</p>
<p><code>-t</code>, <code>--tls</code>:
Use direct TLS.</p>
<p><code>-u</code>, <code>--username</code>=[<var>value</var>]:
Username for XMPP account (JID).</p>
<p><code>--version</code>: Show version information.</p>
<h2 id="CHAT">CHAT</h2>
@ -187,7 +165,7 @@ License: BSD 2-clause License</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p><a class="man-ref" href="go-sendxmpp.5.html">go-sendxmpp<span class="s">(5)</span></a>, <span class="man-ref">sendxmpp<span class="s">(1)</span></span></p>
<p><span class="man-ref">go-sendxmpp<span class="s">(5)</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>

@ -16,61 +16,60 @@ compatibility with the original perl sendxmpp) if no other configuration file lo
## OPTIONS
* `-c`, `--chatroom`=[<value>]:
Send message to a chatroom.
`-c`, `--chatroom`=[<value>]:
Send message to a chatroom.
* `-d`, `--debug`:
Show debugging info.
`-d`, `--debug`:
Show debugging info.
* `-f`, `--file`=[<value>]:
Set configuration file. (Default: ~/.sendxmpprc)
`-f`, `--file`=[<value>]:
Set configuration file. (Default: ~/.sendxmpprc)
* `--help`:
Show help.
`--help`:
Show help.
* `--http-upload=`[<value>]:
Send a file via http-upload.
`--http-upload=`[<value>]:
Send a file via http-upload.
* `-i`, `--interactive`:
Interactive mode (for use with e.g. `tail -f`).
`-i`, `--interactive`:
Interactive mode (for use with e.g. `tail -f`).
* `-j`, `--jserver`=[<value>]:
XMPP server address.
`-j`, `--jserver`=[<value>]:
XMPP server address.
* `-l`, `--listen`:
Listen for messages and print them to stdout. If JIDs are specified only messages from those contacts
are shown. If no JIDs are specified all received messages will be shown.
`-l`, `--listen`:
Listen for messages and print them to stdout. If JIDs are specified only messages from those contacts
are shown. If no JIDs are specified all received messages will be shown.
* `-m`, `--message`=[<value>]:
Set file including the message.
`-m`, `--message`=[<value>]:
Set file including the message.
* `-n`, `--no-tls-verify`:
Skip verification of TLS certificates (not recommended).
`-n`, `--no-tls-verify`:
Skip verification of TLS certificates (not recommended).
* `--tls-version`=[<value>]:
Minimal TLS version. 10 (TSLv1.0), 11 (TLSv1.1) (Default: 12)
`--tls-version`=[<value>]:
Minimal TLS version. 10 (TSLv1.0), 11 (TLSv1.1) (Default: 12)
* `-p`, `--password`=[<value>]:
Password for XMPP account.
`-p`, `--password`=[<value>]:
Password for XMPP account.
* `--raw`:
Send raw XML. To send raw XML to a contact as normal chat message no contact must be specified.
To send raw XML to a MUC you have to specify the MUC via `-c` and `go-sendxmpp` will join the MUC.
`--raw`:
Send raw XML. To send raw XML to a contact as normal chat message no contact must be specified.
To send raw XML to a MUC you have to specify the MUC via `-c` and `go-sendxmpp` will join the MUC.
* `-r`, `--resource`=[<value>]:
Set resource. When sending to a chatroom this is used as
'alias'.
`-r`, `--resource`=[<value>]:
Set resource. When sending to a chatroom this is used as 'alias'.
* `--timeout=`[<value>]:
Connection timeout in seconds. (Default: 10)
`--timeout=`[<value>]:
Connection timeout in seconds. (Default: 10)
* `-t`, `--tls`:
Use direct TLS.
`-t`, `--tls`:
Use direct TLS.
* `-u`, `--username`=[<value>]:
Username for XMPP account (JID).
`-u`, `--username`=[<value>]:
Username for XMPP account (JID).
* `--version`: Show version information.
`--version`: Show version information.
## CHAT

Loading…
Cancel
Save