diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-12 13:18:31 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-12 23:08:33 +0100 |
| commit | bb00a0499fc9130e4b00a88928958b8b094ee2c9 (patch) | |
| tree | c6a272c150943d615f98ce853d31e652768862be /contrib/qemu | |
| parent | c8b520c0625b440d0dcd588af085d35cf46aae2c (diff) | |
| download | passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar.gz passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar.bz2 passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar.lz passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar.xz passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.tar.zst passt-bb00a0499fc9130e4b00a88928958b8b094ee2c9.zip | |
conf: Use the same optstring for passt and pasta modes
Currently we rely on detecting our mode first and use different sets of
(single character) options for each. This means that if you use an option
valid in only one mode in another you'll get the generic usage() message.
We can give more helpful errors with little extra effort by combining all
the options into a single value of the option string and giving bespoke
messages if an option for the wrong mode is used; in fact we already did
this for some single mode options like '-1'.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu')
0 files changed, 0 insertions, 0 deletions
