From a2324725adab4fda610d39eb21d8d28bdf8f35ba Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 13 Aug 2022 13:17:45 -0300 Subject: bin/: Add examples to help strings --- bin/xmpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bin/xmpp') 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): -- cgit v1.2.3