]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty,setterm: (man) remove the mistakenly added -h and -V short options
authorBenno Schulenberg <bensberg@telfort.nl>
Mon, 14 Apr 2025 09:45:30 +0000 (11:45 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Apr 2025 11:53:43 +0000 (13:53 +0200)
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 <bensberg@telfort.nl>
term-utils/agetty.8.adoc
term-utils/setterm.1.adoc

index d34bd746c22475a30cece8082f8c1ad50aa63786..988915865a2ba110ae47413d76fc43f7001c49bb 100644 (file)
@@ -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)).
index 1e6c2f5e1d5a365363dfb99819e24d7da7084c65..89e21532e73a5e032eb8e6a357b1bb58b1f2fa8b 100644 (file)
@@ -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