homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Juraj.Variny
Recipients Juraj.Variny
Date 2012年11月05日.23:11:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352157111.52.0.432994430995.issue16418@psf.upfronthosting.co.za>
In-reply-to
Content
Example:
parser.add_argument("-p","--port", help="Listening port", type=int, choices=range(1, 65535),default=8007,required = False)
generates this usage text:
usage: agent.py [-h]
 [-p {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30, <...snip...> ,65522,65523,65524,65525,65526,65527,65528,65529,65530,65531,65532,65533,65534}]
optional arguments:
 -h, --help show this help message and exit
 -p {1,2,3,4,5,6,7,8,9,10,11,12,13,14, <...snip...> ,65525,65526,65527,65528,65529,65530,65531,65532,65533,65534}
 Listening port
History
Date User Action Args
2012年11月05日 23:11:51Juraj.Varinysetrecipients: + Juraj.Variny
2012年11月05日 23:11:51Juraj.Varinysetmessageid: <1352157111.52.0.432994430995.issue16418@psf.upfronthosting.co.za>
2012年11月05日 23:11:51Juraj.Varinylinkissue16418 messages
2012年11月05日 23:11:51Juraj.Varinycreate

AltStyle によって変換されたページ (->オリジナル) /