[issue4256] argparse: provide a simple way to get a programmatically useful list of options
Éric Araujo
report at bugs.python.org
Sat Feb 25 06:43:51 CET 2012
Éric Araujo <merwok at netwok.org> added the comment:
> zsh completion is much more powerful.
I beg to differ :) bash completion can also list more that files, for example only .bz2 files when I complete the bunzip2 command, or Mercurial branch and tag names when I complete hg update, etc. It all depends on the completion script.
I think that there may be enough common ground between the two shells that argparse could print out enough information for both systems. I haven’t read the code of genzshcomp, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4256>
_______________________________________
More information about the Python-bugs-list
mailing list