summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangeeth Saravanaraj <sangeeth@riptideio.com>2015-02-05 18:11:41 +0530
committerSangeeth Saravanaraj <sangeeth@riptideio.com>2015-02-05 18:11:41 +0530
commit904480712157d762d35de16ce55202d641a56b3c (patch)
tree80360be04ab2cd630267882cfa2e9fb4b6684f0b
parent24264d3a07f8a1576637e6a5703682e8735c2be1 (diff)
downloadslixmpp-904480712157d762d35de16ce55202d641a56b3c.tar.gz
slixmpp-904480712157d762d35de16ce55202d641a56b3c.tar.bz2
slixmpp-904480712157d762d35de16ce55202d641a56b3c.tar.xz
slixmpp-904480712157d762d35de16ce55202d641a56b3c.zip
Added help for running example..
-rw-r--r--examples/http_over_xmpp.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/http_over_xmpp.py b/examples/http_over_xmpp.py
index 5630f778..a2fbf664 100644
--- a/examples/http_over_xmpp.py
+++ b/examples/http_over_xmpp.py
@@ -51,6 +51,13 @@ class HTTPOverXMPPClient(ClientXMPP):
if __name__ == '__main__':
+ #
+ # NOTE: To run this example, fill up the blanks in session_start() and
+ # use the following command.
+ #
+ # ./http_over_xmpp.py -J <jid> -P <pwd> -i <ip> -p <port> [-v]
+ #
+
parser = OptionParser()
# Output verbosity options.