aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2014-06-19 21:30:13 +0530
committerDevendra2014-06-19 21:30:13 +0530
commit123e7cdd041177314781131d3f0ce50c1d165f3b (patch)
tree4e71e6ae4337a439965be083c3b5d058004d2546
parent9063eb7b70d5087aa624fd7c5b832cdcd0a7577e (diff)
downloadpubnub-python-123e7cdd041177314781131d3f0ce50c1d165f3b.tar.bz2
modifying help message in console
-rw-r--r--python/examples/console.py4
-rw-r--r--python/examples/pubnub-console/pubnub-console4
2 files changed, 6 insertions, 2 deletions
diff --git a/python/examples/console.py b/python/examples/console.py
index dfd59f5..229db93 100644
--- a/python/examples/console.py
+++ b/python/examples/console.py
@@ -331,7 +331,9 @@ class DevConsole(Cmd):
Cmd.__init__(self)
global pubnub
self.intro = "For Help type ? or help . " + \
- "To quit/exit type exit"
+ "To quit/exit type exit" + "\n" + \
+ "Commands can also be provided on command line while starting console (in quotes) ex. " + \
+ "pubnub-console 'init -p demo -s demo'"
self.default_channel = None
self.async = False
pubnub = Pubnub("demo", "demo")
diff --git a/python/examples/pubnub-console/pubnub-console b/python/examples/pubnub-console/pubnub-console
index dfd59f5..229db93 100644
--- a/python/examples/pubnub-console/pubnub-console
+++ b/python/examples/pubnub-console/pubnub-console
@@ -331,7 +331,9 @@ class DevConsole(Cmd):
Cmd.__init__(self)
global pubnub
self.intro = "For Help type ? or help . " + \
- "To quit/exit type exit"
+ "To quit/exit type exit" + "\n" + \
+ "Commands can also be provided on command line while starting console (in quotes) ex. " + \
+ "pubnub-console 'init -p demo -s demo'"
self.default_channel = None
self.async = False
pubnub = Pubnub("demo", "demo")