summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-11-11 15:48:51 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-11-12 13:17:16 -0600
commitacec1d96bd226698dcd5232b384f6b473e5a104e (patch)
tree03cf16cb794875ed4f281fea80342212c8aa89ea /NEWS
parent6838addc2924c45874e7f3f8ebaf46716c4c3613 (diff)
downloadgroff-git-acec1d96bd226698dcd5232b384f6b473e5a104e.tar.gz
[afmtodit]: Handle fatal exits more idiomatically.
* src/utils/afmtodit/afmtodit.pl: Use our own fatal exit function instead of Perl's "die". (croak): New subroutine emits argument as part of diagnostic message and exits with status 1. (usage): Exit with status 2, not 1, on usage errors. * NEWS: Document new exit behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3e99c6ef4..58839e233 100644
--- a/NEWS
+++ b/NEWS
@@ -604,6 +604,8 @@ o afmtodit no longer writes file names with directory information in
them to the "name" directives of the font descriptions it generates.
(The `fp` request no longer accepts such names; see "troff" above.)
+o afmtodit now exits with status 2 (not 1) upon usage errors.
+
o pfbtops now exits with status 2 upon usage errors and the standard C
library's `EXIT_FAILURE` status (usually 1) on operational failures
instead of vice versa.