summaryrefslogtreecommitdiff
path: root/src/devices/grolbp
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-11-15 22:29:38 +0000
committerwlemb <wlemb>2000-11-15 22:29:38 +0000
commita097d2a35efc38236f237aa20824479c59b7dc84 (patch)
treed038b1a0f7cccef7411d263b46fdffd84a8aebc1 /src/devices/grolbp
parentc14e595045dfbc9ef97ef446ce072c0b248a9c5d (diff)
downloadgroff-a097d2a35efc38236f237aa20824479c59b7dc84.tar.gz
In all programs, make -v return immediately with exit status 0 to
be compliant with the GNU standard. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml2/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc (main), src/preproc/html2/pre-html.cc (main), src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main), src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc (main): Implement it. * NEWS: Updated. * src/roff/groff/groff.cc (main): Add copyright notice. Add refer and postprocessors to the -v option. * src/roff/grog/grog.pl: Implement -v. * src/roff/grog/Makefile.sub (grog): Use @VERSION@. * src/roff/grog/grog.man, doc/groff.texinfo: Updated. * src/roff/nroff/nroff.sh: Implement -v. * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@. * src/roff/nroff/nroff.man: Updated. * src/preproc/eqn/main.cc (main): Fix comment typo. * MORE.STUFF: Added info about djgpp port of grap.
Diffstat (limited to 'src/devices/grolbp')
-rw-r--r--src/devices/grolbp/lbp.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/grolbp/lbp.cc b/src/devices/grolbp/lbp.cc
index 6633ab65..23de5161 100644
--- a/src/devices/grolbp/lbp.cc
+++ b/src/devices/grolbp/lbp.cc
@@ -720,6 +720,7 @@ int main(int argc, char **argv)
fprintf(stderr, "grolbp version %s\n",\
version_string);
fflush(stderr);
+ exit(0);
break;
};
case 'o' : {