summaryrefslogtreecommitdiffstats
path: root/term-utils/setterm.1
diff options
context:
space:
mode:
authorSami Kerola2014-05-24 11:58:27 +0200
committerSami Kerola2014-05-26 17:35:59 +0200
commitf0dcd918eb785388dd6f70b17d42024e75ec3b4d (patch)
treee7f779c23237dfedc6f65f949c6e070099716ee1 /term-utils/setterm.1
parentdocs: setterm.1 add missing options to manual page and remove duplicate (diff)
downloadkernel-qcow2-util-linux-f0dcd918eb785388dd6f70b17d42024e75ec3b4d.tar.gz
kernel-qcow2-util-linux-f0dcd918eb785388dd6f70b17d42024e75ec3b4d.tar.xz
kernel-qcow2-util-linux-f0dcd918eb785388dd6f70b17d42024e75ec3b4d.zip
docs: setterm.1 add options compatibility note
Both --option and -option formats are accepted. Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/setterm.1')
-rw-r--r--term-utils/setterm.112
1 files changed, 11 insertions, 1 deletions
diff --git a/term-utils/setterm.1 b/term-utils/setterm.1
index cc69617e4..eb4f00d16 100644
--- a/term-utils/setterm.1
+++ b/term-utils/setterm.1
@@ -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),