From 41d4d3afab82d46e5fe8d2ee2e48e065035c7d88 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 12 May 2025 07:02:39 -0400 Subject: tighten up parse_args() some more. --- marsond.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'marsond.rst') diff --git a/marsond.rst b/marsond.rst index 2e705f6..c21554f 100644 --- a/marsond.rst +++ b/marsond.rst @@ -45,7 +45,7 @@ Options can be "bundled": **-vf** is the same as **-v** **-f**. -d delay-ms Amount of time in milliseconds to delay the Enter key release events. - Default: 30. + Minimum 1, default 30 (unless changed at compile time; see **--help**). .. delay time for Enter key release. @@ -56,8 +56,11 @@ Options can be "bundled": **-vf** is the same as **-v** **-f**. .. run in foreground, not as a daemon. -k keyboard-device - Input device for the keyboard adaptor. Default: - /dev/input/by-id/usb-Marson_Marson_Keyboard_and_Mouse_Link_Ver:ps2120L-event-kbd + Input device for the keyboard adaptor. Default:: + + /dev/input/by-id/usb-Marson_Marson_Keyboard_and_Mouse_Link_Ver:ps2120L-event-kbd + + \.\.\.unless changed at compile time; see **--help**. .. keyboard device (usually under /dev/input/by-id/). @@ -65,7 +68,7 @@ Options can be "bundled": **-vf** is the same as **-v** **-f**. Amount of time in milliseconds to pause at startup, before opening the keyboard and uinput devices. May be useful on slow systems, if **marsond** won't consistently start from udev, but works fine - if started manually. Default: 0. + if started manually. Minimum 0, default 0. .. pause before opening keyboard/uinput devs (default 0). @@ -78,7 +81,8 @@ Options can be "bundled": **-vf** is the same as **-v** **-f**. .. verbose debugging. -h, --help - Shows built-in usage message and exits. + Shows built-in usage message and exits. This includes the + compiled-in defaults for the **-d** and **-k** options. .. this help text. -- cgit v1.2.3