From: Benno Schulenberg Date: Mon, 14 Apr 2025 09:45:30 +0000 (+0200) Subject: agetty,setterm: (man) remove the mistakenly added -h and -V short options X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1737f178fd71db258dd475f90aa21a39d2e79cf3;p=thirdparty%2Futil-linux.git agetty,setterm: (man) remove the mistakenly added -h and -V short options Three years ago, commit 2b2d317242 was a little overzealous and replaced also occurrences of --help and --version that were *not* paired with -h and -V: `agetty` does not know -V and uses -h for something else, and `setterm` does not know any short options at all. Signed-off-by: Benno Schulenberg --- diff --git a/term-utils/agetty.8.adoc b/term-utils/agetty.8.adoc index d34bd746c..988915865 100644 --- a/term-utils/agetty.8.adoc +++ b/term-utils/agetty.8.adoc @@ -180,7 +180,11 @@ Run login with this priority. *--reload*:: Ask all running *agetty* instances to reload and update their displayed prompts, if the user has not yet commenced logging in. After doing so the command will exit. This feature might be unsupported on systems without Linux *inotify*(7). -include::man-common/help-version.adoc[] +*--help*:: +Display help text and exit. + +*--version*:: +Display version and exit. == CONFIG FILE ITEMS *agetty* reads the _/etc/login.defs_ configuration file (see *login.defs*(5)). diff --git a/term-utils/setterm.1.adoc b/term-utils/setterm.1.adoc index 1e6c2f5e1..89e21532e 100644 --- a/term-utils/setterm.1.adoc +++ b/term-utils/setterm.1.adoc @@ -160,7 +160,11 @@ Sets the color for underlined characters. Virtual consoles only. *--underline* **on**|**off**:: Turns underline mode on or off. -include::man-common/help-version.adoc[] +*--help*:: +Display help text and exit. + +*--version*:: +Display version and exit. == WARNING