aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2022-05-06 17:01:46 +0200
committerThomas Huth <thuth@redhat.com>2022-05-09 08:21:14 +0200
commitddc5a6cc70398ed7ec76220d59c123d8cb14b0ad (patch)
tree099afbbee6ffbcef6da5c346a9efe9f94ce9d264 /docs
parentf9bcb2d68496a8fa620443edacb27cad1acc1492 (diff)
downloadqemu-ddc5a6cc70398ed7ec76220d59c123d8cb14b0ad.zip
qemu-ddc5a6cc70398ed7ec76220d59c123d8cb14b0ad.tar.gz
qemu-ddc5a6cc70398ed7ec76220d59c123d8cb14b0ad.tar.bz2
docs/devel/writing-monitor-commands: Replace obsolete STEXI/ETEXI tags
STEXI and ETEXI is not used anymore since we switched to Sphinx. Replace them in the example with SRST and ERST, too. Message-Id: <20220506150146.564244-1-thuth@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/devel/writing-monitor-commands.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/devel/writing-monitor-commands.rst b/docs/devel/writing-monitor-commands.rst
index 1693822..4aa2bb9 100644
--- a/docs/devel/writing-monitor-commands.rst
+++ b/docs/devel/writing-monitor-commands.rst
@@ -331,13 +331,10 @@ we should add it to the hmp-commands.hx file::
.cmd = hmp_hello_world,
},
-::
-
- STEXI
- @item hello_world @var{message}
- @findex hello_world
- Print message to the standard output
- ETEXI
+ SRST
+ ``hello_world`` *message*
+ Print message to the standard output
+ ERST
To test this you have to open a user monitor and issue the "hello-world"
command. It might be instructive to check the command's documentation with