Re: [PATCH v5 01/24] qemu-options: remove extraneous [] around arg values

Markus Armbruster <[email protected]> Tue, 13 Jan 2026 08:47:23 +0100
Newsgroups org.nongnu.qemu-rust,org.nongnu.qemu-devel
Message-ID <[email protected]>
Daniel P. BerrangĂ© <[email protected]> writes:

> There are quite a few inappropriate uses of [...] around argument
> values. The [] are intended to indicate optionality, but in some
> cases it is used to wrap a set of enum values. In other cases it
> is being used to show the value is entirely optional, which was
> common behaviour for boolean values in the past. QEMU has deprecated
> short-form boolean options for quite a while though, and we should
> thus not advertize this possibility in the docs.
>
> Signed-off-by: Daniel P. BerrangĂ© <[email protected]>

Reviewed-by: Markus Armbruster <[email protected]>