author | Alexander Solovyov <piranha@piranha.org.ua> |
Mon, 01 Jun 2009 18:10:34 +0300 | |
changeset 2 | 0b61a739804a |
parent 1 | 64bd6c430858 |
child 3 | 5ffb3f9e84e0 |
fancyopts.py | file | annotate | diff | comparison | revisions |
--- a/fancyopts.py Sun May 31 15:31:56 2009 +0300 +++ b/fancyopts.py Mon Jun 01 18:10:34 2009 +0300 @@ -90,7 +90,7 @@ argmap['-' + short] = argmap['--' + oname] = name state[name] = default - # it takes a parameter + # getopt wants indication that it takes a parameter if default not in (None, True, False): if short: short += ':' if oname: oname += '='