diff options
author | Alon Levy <alevy@redhat.com> | 2011-01-06 12:54:28 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-02-10 20:42:46 +0100 |
commit | 967a4a9cbbd5c20e3bf75258f3c8af1c82fed19f (patch) | |
tree | 536df89dc2771b807cbf0be88d03e6c3b666a563 /client/platform.h | |
parent | c55e5a5be3d870f43e3100357af77023bfe6a84f (diff) | |
download | spice-967a4a9cbbd5c20e3bf75258f3c8af1c82fed19f.tar.gz spice-967a4a9cbbd5c20e3bf75258f3c8af1c82fed19f.tar.xz spice-967a4a9cbbd5c20e3bf75258f3c8af1c82fed19f.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 'client/platform.h')
0 files changed, 0 insertions, 0 deletions