Éric Araujo <mer...@netwok.org> added the comment: Hello
Here’s another approach, which has to be used explicitly but provides much more flexible completion: http://pypi.python.org/pypi/optcomplete I ask the author some time ago if he’d adapt it to argparse; he answered he wouldn’t have time but it shouldn’t be too hard. It’s 221 lines of code (according to sloccount), perhaps worth merging into argparse. Regards ---------- nosy: +merwok title: optparse: provide a simple way to get a programmatically useful list of options -> optparse/argparse: provide a simple way to get a programmatically useful list of options _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4256> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com