summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2026-09-20 21:45:54 -0700
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-09-24 21:17:35 +0200
commitf63dc0eea92d07c5bb799a406571b555cd2bbd97 (patch)
tree039eb3a23e9dcc04bd3dbee7101d1177f32846be
parentce7b04fb41e7dc1ab83732cbfde1cac860add7a8 (diff)
docs: ABI: auxdisplay: use literal blocks for commands
Use literal blocks for console I/O to separate it from the surrounding text. Otherwise the lines run together, without any clear break before or after the commands. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--Documentation/ABI/testing/sysfs-auxdisplay-linedisp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/ABI/testing/sysfs-auxdisplay-linedisp b/Documentation/ABI/testing/sysfs-auxdisplay-linedisp
index 55f1b559e84e..ac9e96448b96 100644
--- a/Documentation/ABI/testing/sysfs-auxdisplay-linedisp
+++ b/Documentation/ABI/testing/sysfs-auxdisplay-linedisp
@@ -11,7 +11,8 @@ Description:
Writing an empty string clears the display.
- Example:
+ Example::
+
echo "Hello World" > message
cat message # Returns "Hello World\n"
@@ -23,7 +24,8 @@ Description:
Read-only attribute showing the character width capacity of
the line display device. Messages longer than this will scroll.
- Example:
+ Example::
+
cat num_chars # Returns "16\n" for 16-char display
What: /sys/.../scroll_step_ms
@@ -35,7 +37,8 @@ Description:
Setting to 0 disables scrolling. Default is 500ms.
- Example:
+ Example::
+
echo "250" > scroll_step_ms # 4Hz scrolling
cat scroll_step_ms # Returns "250\n"