docs: fix trace docs build with sphinx 3.1.1
commitfc5d28b36d38455f06e3a949276e6cd94bfb4272
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 14 Jul 2020 16:26:59 +0000 (14 17:26 +0100)
committerStefan Weil <sw@weilnetz.de>
Thu, 27 Aug 2020 19:03:58 +0000 (27 21:03 +0200)
tree4a397701ac360841178cb1359d8eb84dffc9fc42
parent9580e539474a138864d25f8249f9ce38c25ea894
docs: fix trace docs build with sphinx 3.1.1

In Fedora 33 rawhide, we now have sphinx 3.1.1, as opposed
to previous 2.2.2. This new version generates a warning on
the source:

docs/qemu-option-trace.rst.inc:4:Malformed option description
  '[enable=]PATTERN', should look like "opt", "-opt args",
  "--opt args", "/opt args" or "+opt args"

This turns into an error when QEMU passes -W to sphinx-build

Strangely the previous 2.2.2 code has the exact same logic
for checking the syntax, but it is not being triggered. While
it is only complaining about the first option, I changed all
the options to give consistency.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200714162659.1017432-1-berrange@redhat.com>
docs/qemu-option-trace.rst.inc