[Patches] [Patch #101496] Support switches -h and -V (help & version)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Sep 2000 11:24:38 -0700


Patch #101496 has been updated. 

Project: 
Category: core (C code)
Status: Accepted
Summary: Support switches -h and -V (help & version)

Follow-Ups:

Date: 2000-Sep-14 07:18
By: fdrake

Comment:
This looks good to me; fix Misc/python.man as well, then check it in.
-------------------------------------------------------

Date: 2000-Sep-14 22:03
By: bwarsaw

Comment:
Jeremy, please rule: can this go into 2.0beta2?  If so, reassign back to me and I'll check it in.
-------------------------------------------------------

Date: 2000-Sep-15 04:52
By: gvanrossum

Comment:
Why does -h print the usage and then continue to function, while -V prints the version and exits? (Should it check that there are no other command line args before exiting???)

Note that you also need to fix Misc/python.man

-------------------------------------------------------

Date: 2000-Sep-15 07:31
By: bwarsaw

Comment:
Yes, -h exits too.  usage() calls exit().  Here's an updated patch that includes mods to Misc/python.man
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101496&group_id=5470