gbranden pushed a commit to branch master
in repository groff.
commit 0e11b7c7a349c84bc097a9989808cb80ce0a4a6c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 29 07:19:37 2025 -0500
mmroff(1): Add "Exit status" section.
---
contrib/mm/mmroff.1.man | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/contrib/mm/mmroff.1.man b/contrib/mm/mmroff.1.man
index 40093c3fd..2540b71b9 100644
--- a/contrib/mm/mmroff.1.man
+++ b/contrib/mm/mmroff.1.man
@@ -9,7 +9,7 @@ macro package
.\" Legal Terms
.\" ====================================================================
.\"
-.\" Copyright (C) 1989-2023 Free Software Foundation, Inc.
+.\" Copyright (C) 1989-2025 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
@@ -169,6 +169,32 @@ is searched before
.
.
.\" ====================================================================
+.SH "Exit status"
+.\" ====================================================================
+.
+.I mmroff
+exits with status
+.B 0
+if the
+.B \-\-help
+or
+.B \%\-\-version
+options were specified,
+or if
+.B \-x
+was specified and the program successfully
+created or updated the cross-reference file.
+.
+It exits with status
+.B 1
+if it was unable to create necessary files.
+.
+Otherwise,
+it exits with the status of
+.IR groff .
+.
+.
+.\" ====================================================================
.SH Authors
.\" ====================================================================
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit