summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-06 12:54:28 +0200
committerAlon Levy <alevy@redhat.com>2011-01-17 18:48:50 +0200
commit609105a27658d0849e0e218a5f355b302c820c05 (patch)
tree1cefe890b97ce95809e9c481a35103891d1ab01f /python_modules/codegen.py
parentd0fa80641daf9d49ea6590d4106c32c79b872d4e (diff)
downloadspice-609105a27658d0849e0e218a5f355b302c820c05.tar.gz
spice-609105a27658d0849e0e218a5f355b302c820c05.tar.xz
spice-609105a27658d0849e0e218a5f355b302c820c05.zip
client/cmd_line_parser: fix wrong reporting of bad argument in --bla=val case
We use get_opt_long, which allows non ambiguous abbreviations, but since we didn't like that we have code that checks for abbreviations and issues an error. But that code only handled separate argument and key like: --bla value and didn't handle them in the same arguemnts, like: --bla=value This patch fixes that, and gives a slightly better error report (it still contains the =value part though)
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions