|
|
|
@ -40,8 +40,7 @@ If no configuration file is present or if the values should be overridden it is
|
|
|
|
|
account details via command line options:
|
|
|
|
|
|
|
|
|
|
```plain
|
|
|
|
|
./go-sendxmpp --help
|
|
|
|
|
Usage: go-sendxmpp [-cdtx] [-f value] [--help] [-j value] [-p value] [-r value] [-u value] [parameters ...]
|
|
|
|
|
Usage: go-sendxmpp [-cdintx] [-f value] [--help] [-j value] [-m value] [-p value] [-r value] [-u value] [parameters ...]
|
|
|
|
|
-c, --chatroom Send message to a chatroom.
|
|
|
|
|
-d, --debug Show debugging info.
|
|
|
|
|
-f, --file=value Set configuration file. (Default: ~/.sendxmpprc)
|
|
|
|
@ -51,16 +50,17 @@ Usage: go-sendxmpp [-cdtx] [-f value] [--help] [-j value] [-p value] [-r value]
|
|
|
|
|
XMPP server address.
|
|
|
|
|
-m, --message=value
|
|
|
|
|
Set file including the message.
|
|
|
|
|
-n, --no-tls-verify
|
|
|
|
|
Skip verification of TLS certificates (not recommended).
|
|
|
|
|
-p, --password=value
|
|
|
|
|
Password for XMPP account.
|
|
|
|
|
-r, --resource=value
|
|
|
|
|
Set resource. When sending to a chatroom this is used as
|
|
|
|
|
'alias'. (Default: go-sendxmpp)
|
|
|
|
|
'alias'. (Default: go-sendxmpp) [go-sendxmpp]
|
|
|
|
|
-t, --tls Use TLS.
|
|
|
|
|
-u, --username=value
|
|
|
|
|
Username for XMPP account.
|
|
|
|
|
-x, --start-tls Use StartTLS.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### examples
|
|
|
|
|