From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Sat, 12 Dec 2020 08:00:12 +0000 (+0100)
Subject: doc: use code-block in pstore.rst
X-Git-Tag: v2025.01-rc5-pxa1908~2098^2~4
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=9ebb71f70d8367b7f5030d507a43acb34252a984;p=u-boot.git

doc: use code-block in pstore.rst

Use syntax highlighting for a Linux console session.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---

diff --git a/doc/usage/pstore.rst b/doc/usage/pstore.rst
index 8427d8fd97..8c4e5274aa 100644
--- a/doc/usage/pstore.rst
+++ b/doc/usage/pstore.rst
@@ -57,7 +57,9 @@ Generate kernel crash
 ~~~~~~~~~~~~~~~~~~~~~
 
 For test purpose, you can generate a kernel crash by setting reboot timeout to
-10 seconds and trigger a panic::
+10 seconds and trigger a panic
+
+.. code-block:: console
 
     $ sudo sh -c "echo 1 > /proc/sys/kernel/sysrq"
     $ sudo sh -c "echo 10 > /proc/sys/kernel/panic"