From 56f3a33c017a506b7335f35e90f41de9fa05d83a Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Mon, 1 Apr 2013 13:03:49 -0400 Subject: [PATCH] Remove the use of "--site" from the example scripts' usage text Now that we're distributing these examples, we shouldn't be promoting the use of the "--site" option. (imported from commit 01ded4a851dc799fa6c7e902e937c4331ed92bf8) --- examples/get-public-streams | 2 +- examples/list-subscriptions | 2 +- examples/print-messages | 2 +- examples/print-next-message | 2 +- examples/send-message | 2 +- examples/subscribe | 4 ++-- examples/unsubscribe | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/get-public-streams b/examples/get-public-streams index e3d4d8b..20e2f19 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=https://zephyr.humbughq.com +Example: get-public-streams --user=tabbott@humbughq.com """ sys.path.append(path.join(path.dirname(__file__), '..')) diff --git a/examples/list-subscriptions b/examples/list-subscriptions index d91ab1d..cb41721 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=https://zephyr.humbughq.com +Example: list-subscriptions --user=tabbott@humbughq.com """ sys.path.append(path.join(path.dirname(__file__), '..')) import humbug diff --git a/examples/print-messages b/examples/print-messages index 0ee25f5..0fa531a 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=https://zephyr.humbughq.com +Example: print-messages --user=tabbott@humbughq.com """ sys.path.append(path.join(path.dirname(__file__), '..')) import humbug diff --git a/examples/print-next-message b/examples/print-next-message index 04ae7b1..2d6c07e 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=https://zephyr.humbughq.com +Example: print-next-messages --user=tabbott@humbughq.com """ sys.path.append(path.join(path.dirname(__file__), '..')) import humbug diff --git a/examples/send-message b/examples/send-message index 12f7005..c6bba2c 100755 --- a/examples/send-message +++ b/examples/send-message @@ -30,7 +30,7 @@ usage = """send-message [options] Sends a test message to the specified recipients. Example: send-message --sender=you@example.com --type=stream commits --subject="my subject" --message="test message" -Example: send-message --sender=you@example.com --site=https://zephyr.humbughq.com user1@example.com user2@example.com +Example: send-message --sender=you@example.com user1@example.com user2@example.com """ parser = optparse.OptionParser(usage=usage) parser.add_option('--api-key') diff --git a/examples/subscribe b/examples/subscribe index 3175afd..bac9c74 100755 --- a/examples/subscribe +++ b/examples/subscribe @@ -29,8 +29,8 @@ usage = """subscribe --user= [options] --streams= Ensures the user is subscribed to the listed streams. -Examples: subscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com --streams=foo - subscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com --streams='foo bar' +Examples: subscribe --user=tabbott@humbughq.com --streams=foo + subscribe --user=tabbott@humbughq.com --streams='foo bar' """ sys.path.append(path.join(path.dirname(__file__), '..')) import humbug diff --git a/examples/unsubscribe b/examples/unsubscribe index f740d51..3e23bed 100755 --- a/examples/unsubscribe +++ b/examples/unsubscribe @@ -29,8 +29,8 @@ usage = """unsubscribe --user= [options] --streams= Ensures the user is not subscribed to the listed streams. -Examples: unsubscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com --streams=foo - unsubscribe --user=tabbott@humbughq.com --site=https://zephyr.humbughq.com --streams='foo bar' +Examples: unsubscribe --user=tabbott@humbughq.com --streams=foo + unsubscribe --user=tabbott@humbughq.com --streams='foo bar' """ sys.path.append(path.join(path.dirname(__file__), '..')) import humbug