From 03dc2b2af126c1c58df6a9795a92c40afca82023 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 26 Nov 2012 11:00:59 -0500 Subject: [PATCH] api: Don't use 127.0.0.1:8000 as an example. At least the zephyr.humbughq.com case is one our users might find useful. I imagine we'll end up hiding --site once we integrate the zephyr and main site tornado servers. (imported from commit a3a28492cf3f32b78eab6bbd48ba66be2f38a5f2) --- examples/get-public-streams | 2 +- examples/list-subscriptions | 2 +- examples/print-messages | 2 +- examples/print-next-message | 2 +- examples/send-message | 2 +- examples/subscribe | 2 +- examples/unsubscribe | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/get-public-streams b/examples/get-public-streams index f6d6d76..8eb2e63 100755 --- a/examples/get-public-streams +++ b/examples/get-public-streams @@ -29,7 +29,7 @@ usage = """get-public-streams --user= [options] Prints out all the public streams in the realm. -Example: get-public-streams --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: get-public-streams --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/list-subscriptions b/examples/list-subscriptions index a9b69c4..57a7abd 100755 --- a/examples/list-subscriptions +++ b/examples/list-subscriptions @@ -29,7 +29,7 @@ usage = """list-subscriptions --user= [options] Prints out a list of the user's subscriptions. -Example: list-subscriptions --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: list-subscriptions --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/print-messages b/examples/print-messages index a5495a3..2a8e7a7 100755 --- a/examples/print-messages +++ b/examples/print-messages @@ -29,7 +29,7 @@ usage = """print-messages --user= [options] Prints out each message received by the indicated user. -Example: print-messages --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: print-messages --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/print-next-message b/examples/print-next-message index 3afef20..191a570 100755 --- a/examples/print-next-message +++ b/examples/print-next-message @@ -29,7 +29,7 @@ usage = """print-next-message --user= [options] Prints out the next message received by the user. -Example: print-next-messages --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: print-next-messages --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/send-message b/examples/send-message index 627bccb..0ba8a30 100755 --- a/examples/send-message +++ b/examples/send-message @@ -29,7 +29,7 @@ usage = """send-message [options] Sends a test message to the specified recipients. -Example: send-message --site=http://127.0.0.1:8000 iago@humbughq.com +Example: send-message --site=https://zephyr.humbughq.com iago@humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/subscribe b/examples/subscribe index eafc0f1..1f07cbb 100755 --- a/examples/subscribe +++ b/examples/subscribe @@ -29,7 +29,7 @@ usage = """subscribe --user= [options] --streams= Ensures the user is subscribed to the listed streams. -Example: subscribe --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: subscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site', diff --git a/examples/unsubscribe b/examples/unsubscribe index 59e296c..eaf7cc3 100755 --- a/examples/unsubscribe +++ b/examples/unsubscribe @@ -29,7 +29,7 @@ usage = """unsubscribe --user= [options] --streams= Ensures the user is not subscribed to the listed streams. -Example: unsubscribe --user=tabbott@humbughq.com --site=http://127.0.0.1:8000 +Example: unsubscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--site',