Skip to content
Browse files

updates option description for swarms.py

  • Loading branch information...
1 parent 97d7122 commit 46110f1e098353422ec9f2a9233779170841f41b @barberdt barberdt committed Nov 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 swarms.py
View
2 swarms.py
@@ -134,7 +134,7 @@ def main():
+"\n *DESCRIPTION: The description of the swarm being created."
parser = OptionParser(usage = opt_usage)
parser.add_option("-p", "--public", dest="public", help="Set whether the swarm is public or not. Valid types; 'true', 'false'.", metavar="PUBLIC")
- parser.add_option("-r", "--resources", dest="resources", help="Input resources you wish to add to the swarm by default. Format the resources as a dictionary of \"resource_id\":\"resource_type\" key:value pairs. Example: '{\"c35b44419f7b2717f25c6022d04af72a492cd892\":\"consumer\"}'", metavar="RESOURCES")
+ parser.add_option("-r", "--resources", dest="resources", help="Input resources you wish to add to the swarm by default. Format the resources as a dictionary of \"resource_id\":\"resource_type\" key:value pairs. If you wish for a resource to be added as both a consumer and a producer, set the \"resource_type\" to \"both\". Example: '{\"c35b44419f7b2717f25c6022d04af72a492cd892\":\"consumer\",\"b09df0ea0323073b05a1ddd9b2d44c769d8fa7c2\":\"both\"}'", metavar="RESOURCES")
(options, args) = parser.parse_args()
if len(args) != 3:
print "Invalid number of args. See --help for correct usage."

0 comments on commit 46110f1

Please sign in to comment.
Something went wrong with that request. Please try again.