[Python-Dev] Python 2.7b1 and argparse's version action
Tobias Herp
Tobias.Herp at gmx.de
Wed Apr 21 00:34:10 CEST 2010
More information about the Python-Dev mailing list
Wed Apr 21 00:34:10 CEST 2010
- Previous message: [Python-Dev] Python 2.7b1 and argparse's version action
- Next message: [Python-Dev] Python 2.7b1 and argparse's version action
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan schrieb: > Tobias Herp wrote: >> No deprecation or removal of the simple and convenient 'version' >> argument is needed for this. Just omit it, and build your version >> action yourself. But please notice that there are others who appreciate >> this simple way to do it and don't need more. > > One Obvious Way. One /Obvious/ Way! To simply check off the "give the program a version" task, /this/ (the version argument) is the way to do it (obvious enough for legions of programmers who are able to use optparse). If you need a more fancy version action, of course, you need to take care of that yourself. > In this case, the ambiguity of the "version=" argument ... What /is/ this ambiguity of the "version=" argument? There is none! Do it the way optparse does it, and all is fine! -- Tobias
- Previous message: [Python-Dev] Python 2.7b1 and argparse's version action
- Next message: [Python-Dev] Python 2.7b1 and argparse's version action
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list