From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH 3/4] docs: setterm.1 add options compatibility note
Date: Sat, 24 May 2014 12:08:15 +0100 [thread overview]
Message-ID: <1400929696-12548-4-git-send-email-kerolasa@iki.fi> (raw)
In-Reply-To: <1400929696-12548-1-git-send-email-kerolasa@iki.fi>
Both --option and -option formats are accepted.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
term-utils/setterm.1 | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/term-utils/setterm.1 b/term-utils/setterm.1
index 5b843dc..995e1c9 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 supported long options with two hyphens, for example
+.BR \-\-help ,
+aside with single hyphen options, for example
+.BR \-help .
+In scripts it is better to use backward compatibile single hyphen rather
+than two hyphens. Currently there are no plans or good reasons to
+discontinue single hyphen compatibility.
.SH "SEE ALSO"
.BR tput (1),
.BR stty (1),
--
1.9.3
next prev parent reply other threads:[~2014-05-24 11:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-24 11:08 [PATCH 0/4] setterm: documentation updates Sami Kerola
2014-05-24 11:08 ` [PATCH 1/4] setterm: add usage() descriptions Sami Kerola
2014-05-24 12:30 ` Benno Schulenberg
2014-05-25 10:57 ` Sami Kerola
2014-05-25 20:51 ` Benno Schulenberg
2014-05-24 11:08 ` [PATCH 2/4] docs: setterm.1 add missing options to manual page and remove duplicate Sami Kerola
2014-05-24 12:33 ` Benno Schulenberg
2014-05-25 10:57 ` Sami Kerola
2014-05-24 11:08 ` Sami Kerola [this message]
2014-05-24 12:38 ` [PATCH 3/4] docs: setterm.1 add options compatibility note Benno Schulenberg
2014-05-25 10:58 ` Sami Kerola
2014-05-24 11:08 ` [PATCH 4/4] docs: setterm.1 clean up manual page groff style Sami Kerola
2014-05-24 12:44 ` Benno Schulenberg
2014-05-25 10:58 ` Sami Kerola
2014-05-25 21:10 ` Benno Schulenberg
2014-05-26 8:42 ` Sami Kerola
2014-05-26 10:11 ` Karel Zak
2014-05-26 15:46 ` Sami Kerola
2014-05-27 14:46 ` Karel Zak
2014-05-29 9:48 ` Sami Kerola
2014-05-29 10:23 ` Ruediger Meier
2014-05-30 7:44 ` Sami Kerola
2014-06-01 22:35 ` Ruediger Meier
2014-06-02 16:42 ` Sami Kerola
2014-06-02 21:23 ` Bernhard Voelker
2014-06-02 21:35 ` Ruediger Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400929696-12548-4-git-send-email-kerolasa@iki.fi \
--to=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox