[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/61] man/tput.1: Rename "EXIT CODES" section to "EXIT STATUS".
From: |
G. Branden Robinson |
Subject: |
[PATCH 23/61] man/tput.1: Rename "EXIT CODES" section to "EXIT STATUS". |
Date: |
Fri, 24 Nov 2023 12:03:35 -0600 |
This is the only ncurses page that has a section of either title. "EXIT
STATUS" is the phrase used by POSIX man pages, by the Linux man-pages
project, and by groff.
---
man/tput.1 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/man/tput.1 b/man/tput.1
index dd6f5cfd..7dc42d86 100644
--- a/man/tput.1
+++ b/man/tput.1
@@ -91,7 +91,7 @@ .SH DESCRIPTION
Before using a value returned on the standard output,
the application should test the exit code
(e.g., \fB$?\fP, see \fBsh\fP(1)) to be sure it is \fB0\fP.
-(See the \fBEXIT CODES\fP and \fBDIAGNOSTICS\fP sections.)
+(See the \fBEXIT STATUS\fP and \fBDIAGNOSTICS\fP sections.)
For a complete list of capabilities
and the \fIcapname\fP associated with each, see \fBterminfo\fP(5).
.SS Options
@@ -103,7 +103,7 @@ .SS Options
Only one \fIcapname\fP is allowed per line.
The \fB\-S\fP option changes the
meaning of the \fB0\fP and \fB1\fP boolean and string exit codes (see the
-EXIT CODES section).
+EXIT STATUS section).
.IP
Because some capabilities may use
\fIstring\fP parameters rather than \fInumbers\fP,
@@ -374,7 +374,7 @@ .SH FILES
.TP
.I \*d
compiled terminal description database
-.SH EXIT CODES
+.SH EXIT STATUS
If the \fB\-S\fP option is used,
\fB@TPUT@\fP checks for errors from each line,
and if any errors are found, will set the exit code to 4 plus the
@@ -427,7 +427,7 @@ .SH DIAGNOSTICS
\fBterminfo\fP(5) database for this terminal type, e.g.
\fB@TPUT@ \-T450 lines\fP and \fB@TPUT@ \-Thp2621 xmc\fP)
T}
-\fB1\fP no error message is printed, see the \fBEXIT CODES\fP section.
+\fB1\fP no error message is printed, see the \fBEXIT STATUS\fP section.
\fB2\fP usage error
\fB3\fP unknown terminal \fItype\fP or no \fBterminfo\fP database
\fB4\fP unknown \fBterminfo\fP capability \fIcapname\fP
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 23/61] man/tput.1: Rename "EXIT CODES" section to "EXIT STATUS".,
G. Branden Robinson <=