commit 4b91ddafc2338b7eaf2ea6f7609c45183303bb5f
parent 2c272e1722539565b8041d8ad4fc313391c11c9d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 4 Aug 2024 21:27:54 +0200
add man page for taler-mdb-display
Diffstat:
2 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/conf.py b/conf.py
@@ -596,6 +596,13 @@ man_pages = [
1,
),
(
+ "manpages/taler-mdb-display.1",
+ "taler-mdb-display",
+ "turns the framebuffer backlight on or off",
+ "GNU Taler contributors",
+ 1,
+ ),
+ (
"manpages/taler-mdb-show.sh.1",
"taler-mdb-show.sh",
"render informational status images on vending machines' displays",
diff --git a/manpages/taler-mdb-display.1.rst b/manpages/taler-mdb-display.1.rst
@@ -0,0 +1,60 @@
+taler-mdb-display(1)
+####################
+
+.. only:: html
+
+ Name
+ ====
+
+ **taler-mdb-display** - toggle framebuffer backlight
+
+
+Synopsis
+========
+
+**taler-mdb-display**
+[**-c** *FILENAME*]
+[**-h**]
+[**-i**_|_**--backlight-invert**]
+[**-L** _*LOGLEVEL* | **--log=**\ \ *LOGLEVEL*]
+[**-l** _*FILENAME* | **--logfile=**\ \ *FILENAME*]
+[**-v** | **--version**]
+
+
+Description
+===========
+
+**taler-mdb-display** is a command-line tool that simply toggles the backlight setting. Depending on the hardware, this **-i** may be used to turn the light on or off. The opposite effect can then be achieved without the **-i** option.
+
+Its options are as follows:
+
+**-c** *FILENAME* \| **--config=**\ \ *FILENAME*
+ Use the configuration and other resources for the command to operate from *FILENAME*.
+
+**-i** \| **--backlight-invert**
+ Invert the bit for turning on/off the backlight (without the option, the tool will do the opposite).
+
+**-h** \| **--help**
+ Print short help on options.
+
+**-L** *LOGLEVEL* \| **--log=**\ \ *LOGLEVEL*
+ Configure logging to use *LOGLEVEL*.
+
+**-l** *FILENAME* \| **--logfile=**\ \ *FILENAME*
+ Configure logging to write logs to *FILENAME*.
+
+**-v** \| **–version**
+ Print version information.
+
+
+See Also
+========
+
+taler-mdb(1), taler-mdb-show.sh(1), taler.conf(5).
+
+
+Bugs
+====
+
+Report bugs by using https://bugs.taler.net or by sending electronic
+mail to <taler@gnu.org>.