diff options
author | EuAndreh <eu@euandre.org> | 2022-08-13 13:17:45 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-08-13 13:17:45 -0300 |
commit | a2324725adab4fda610d39eb21d8d28bdf8f35ba (patch) | |
tree | b8d770e51d7e0703020cfd6862e890b717bcb23e /bin/xmpp | |
parent | bin/player: Add working utility (diff) | |
download | dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.gz dotfiles-a2324725adab4fda610d39eb21d8d28bdf8f35ba.tar.xz |
bin/: Add examples to help strings
Diffstat (limited to 'bin/xmpp')
-rwxr-xr-x | bin/xmpp | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -18,7 +18,17 @@ Options: -h, --help show this message FROM_JID the address used to send the message from - TO_JID the addresses where to send the message to""" + TO_JID the addresses where to send the message to + + +Send a one-off XMPP message. + + +Examples: + + Send a message to eu@euandreh.xyz: + + $ xmpp -m 'Hello, XMPP!' eu@euandreh.xyz""" class SendMsgBot(slixmpp.ClientXMPP): def __init__(self, jid, password, on_start): |