qapi/pragma: Tidy up comments
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 May 2022 08:14:33 +0000 (10:14 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 16 May 2022 05:31:26 +0000 (07:31 +0200)
Commit 05ebf841ef "qapi: Enforce command naming rules" inserted new
code between a comment and the code it applies to.  Move the comment
back to its code, and add one for the new code.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220510081433.3289762-1-armbru@redhat.com>

qapi/pragma.json

index e6a021c19cf9b7f1416f3d0f0fe2deb58393f0bd..7f810b0e977b53a4d98d382f9eb8e7327fbb1819 100644 (file)
@@ -6,7 +6,7 @@
 # Whitelists to permit QAPI rule violations; think twice before you
 # add to them!
 { 'pragma': {
-    # Commands allowed to return a non-dictionary:
+    # Command names containing '_'
     'command-name-exceptions': [
         'add_client',
         'block_resize',
@@ -24,6 +24,7 @@
         'system_powerdown',
         'system_reset',
         'system_wakeup' ],
+    # Commands allowed to return a non-dictionary
     'command-returns-exceptions': [
         'human-monitor-command',
         'qom-get',