]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: setterm.1 add options compatibility note
authorSami Kerola <kerolasa@iki.fi>
Sat, 24 May 2014 09:58:27 +0000 (10:58 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 26 May 2014 15:35:59 +0000 (16:35 +0100)
Both --option and -option formats are accepted.

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
term-utils/setterm.1

index cc69617e4dc6e05802c23b288e67f87955368672..eb4f00d16c602cd378f6de0e993ab91348395426 100644 (file)
@@ -8,7 +8,7 @@
 .\" Undocumented: -snow, -softscroll, -standout; these are
 .\" commented out in the source
 .\"
-.TH SETTERM 1 "January 2000" "util-linux" "User Commands"
+.TH SETTERM 1 "May 2014" "util-linux" "User Commands"
 .SH NAME
 setterm \- set terminal attributes
 .SH SYNOPSIS
@@ -196,6 +196,16 @@ Display version information and exit.
 .TP
 .BR \-\-help
 Display help text and exit.
+.SH COMPATIBILITY
+Since version 2.25 the
+.B setterm
+has support for long options with two hyphens, for example
+.BR \-\-help ,
+beside the historical long options with a single hyphen, for example
+.BR \-help .
+In scripts it is better to use the backward compatible single hyphen
+rather than the double hyphen.  Currently there are no plans or good
+reasons to discontinue single hyphen compatibility.
 .SH "SEE ALSO"
 .BR tput (1),
 .BR stty (1),