comparison carton.py @ 12:542b46ac4e28

fix description more better
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 08 Jul 2011 15:04:15 -0700
parents e6a62ba0c24d
children f522620c6a78
comparison
equal deleted inserted replaced
11:e6a62ba0c24d 12:542b46ac4e28
121 # parse CLI arguments 121 # parse CLI arguments
122 parser = OptionParser(usage=usage, description=__doc__) 122 parser = OptionParser(usage=usage, description=__doc__)
123 parser.add_option('-o', dest='outfile', 123 parser.add_option('-o', dest='outfile',
124 help="specify outfile; otherwise it will come from environment_name") 124 help="specify outfile; otherwise it will come from environment_name")
125 parser.add_option('--virtualenv', dest='virtualenv', 125 parser.add_option('--virtualenv', dest='virtualenv',
126 help="use virtualenv URL") 126 help="use this virtualenv URL or file tarball")
127 options, args = parser.parse_args(args) 127 options, args = parser.parse_args(args)
128 if len(args) < 2: 128 if len(args) < 2:
129 parser.print_usage() 129 parser.print_usage()
130 parser.exit() 130 parser.exit()
131 environment = args[0] 131 environment = args[0]