diff options
author | Paolo Bonzini | 2021-03-01 16:28:44 +0100 |
---|---|---|
committer | Kevin Wolf | 2021-03-08 14:55:18 +0100 |
commit | 501a4b3681c90bbcf610fbbd6335c26af30668d7 (patch) | |
tree | b4862e6a07064a9a2938964978123aa34fe4ca92 /storage-daemon/meson.build | |
parent | storage-daemon: report unexpected arguments on the fly (diff) | |
download | qemu-501a4b3681c90bbcf610fbbd6335c26af30668d7.tar.gz qemu-501a4b3681c90bbcf610fbbd6335c26af30668d7.tar.xz qemu-501a4b3681c90bbcf610fbbd6335c26af30668d7.zip |
storage-daemon: include current command line option in the errors
Use the location management facilities that the emulator uses, so that
the current command line option appears in the error message.
Before:
$ storage-daemon/qemu-storage-daemon --nbd key..=
qemu-storage-daemon: Invalid parameter 'key..'
After:
$ storage-daemon/qemu-storage-daemon --nbd key..=
qemu-storage-daemon: --nbd key..=: Invalid parameter 'key..'
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210301152844.291799-3-pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'storage-daemon/meson.build')
0 files changed, 0 insertions, 0 deletions