commit:     aa815847970cffbe7c5c825e8f7dcc401ca82035
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sat Aug  9 19:18:59 2025 +0000
Commit:     Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Sat Aug  9 19:18:59 2025 +0000
URL:        https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=aa815847

locale-gen.8: Add an EXIT STATUS section

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>

 locale-gen.8 | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/locale-gen.8 b/locale-gen.8
index 64c89d8..51e573a 100644
--- a/locale-gen.8
+++ b/locale-gen.8
@@ -32,10 +32,10 @@ required locales. By default, locale\-gen shall read this 
file and compile only
 the locales that are specified, saving both time and space in the longer term.
 .P
 If the configuration file is missing, empty, or consists only of comments,
-locale\-gen shall act in one of two ways, depending on whether the
-\fB\-\-config\fR option was specified. If specified then locale\-gen shall 
abort
-with a suitable diagnostic message. Otherwise, locale\-gen shall act as if the
-\fB\-\-all\fR option had been specified.
+locale\-gen shall act in one of two ways, depending on whether the \fB\-c\fR
+option was specified. If specified then locale\-gen shall abort with a suitable
+diagnostic message. Otherwise, locale\-gen shall act as if the \fB\-A\fR option
+had been specified.
 .SH "OPTIONS"
 .TP
 \fB\-A\fR, \fB\-\-all\fR
@@ -71,6 +71,16 @@ A list of officially supported locales.
 .TP
 .I /usr/lib/locale/locale\-archive
 Contains the currently installed locales.
+.SH "EXIT STATUS"
+The exit status shall be 0 under any of these conditions:
+.IP \[bu] 2
+the \fB\-h\fR and/or \fB\-V\fR options were specified
+.IP \[bu] 2
+the \fB\-u\fR option was specified but no locales need compiling
+.IP \[bu] 2
+the options and \fIconfig\fR were validated, the specified locales compiled 
and the resulting archive installed, without error
+.P
+Otherwise, the exit status shall be greater than 0.
 .SH "AUTHORS"
 Version 3.0 is the work of
 .MT kfm@\:plushkava\:.net

Reply via email to