aboutsummaryrefslogtreecommitdiff
path: root/bin/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/xmpp')
-rwxr-xr-xbin/xmpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/xmpp b/bin/xmpp
index 472e9ca..b08a783 100755
--- a/bin/xmpp
+++ b/bin/xmpp
@@ -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):