Permalink
Browse files

updates --help for produce.py

  • Loading branch information...
1 parent cb8cbe6 commit f26a0e103fdb5b48fa1543c0de55aef1c954b14c @barberdt barberdt committed Dec 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 produce.py
View
@@ -73,7 +73,7 @@ def main():
elif sys.argv[1] == "produce":
signal.signal(signal.SIGINT, signal_handler)
opt_usage = "usage: \n DATA | ./produce.py %s SWARM_ID RESOURCE_ID [options]"%(sys.argv[1])
- opt_usage += "\n\n *DATA: The data to produce in the feed. Valid forms; \"echo 'DATA'\", \"cat FILENAME\"." \
+ opt_usage += "\n\n *DATA: The data to produce in the feed. Valid forms; \"echo 'DATA'\", \"cat FILENAME\".\n DATA may also be passed in through stdin after running the script rather than piping in each time." \
+"\n *SWARM_ID: The ID of the swarm to produce to." \
+"\n *RESOURCE_ID: The ID of the resource to produce with."
parser = OptionParser(usage = opt_usage)

0 comments on commit f26a0e1

Please sign in to comment.