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)
This commit is contained in:
Zev Benjamin 2013-04-01 13:03:49 -04:00
parent 07e5390659
commit 56f3a33c01
7 changed files with 9 additions and 9 deletions

View file

@ -29,7 +29,7 @@ usage = """get-public-streams --user=<email address> [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__), '..'))

View file

@ -29,7 +29,7 @@ usage = """list-subscriptions --user=<email address> [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

View file

@ -29,7 +29,7 @@ usage = """print-messages --user=<email address> [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

View file

@ -29,7 +29,7 @@ usage = """print-next-message --user=<email address> [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

View file

@ -30,7 +30,7 @@ usage = """send-message [options] <recipients>
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')

View file

@ -29,8 +29,8 @@ usage = """subscribe --user=<email address> [options] --streams=<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

View file

@ -29,8 +29,8 @@ usage = """unsubscribe --user=<email address> [options] --streams=<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