summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-01-28 08:54:04 +0100
committerPaolo Bonzini <bonzini@gnu.org>2009-01-28 08:54:04 +0100
commit5dd4f61f546970e84062aacd8af4a8b73ec34fc2 (patch)
treed4f8c1975123ab61f9c8d48977729070603a2fc1 /doc
parent70341ff4532e41f762371c1c93f0dcd8d232a80f (diff)
downloadsed-5dd4f61f546970e84062aacd8af4a8b73ec34fc2.tar.gz
do not print the bug report address when --help is printed and exit status != 0
2009-01-28 Paolo Bonzini <bonzini@gnu.org> * sed/sed.c (usage): Only print the bug report address for `sed --help'. (main): Print it for `sed --version' too. * testsuite/version.gin: Adapt. * testsuite/Makefile.tests: Refine help message test.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/sed.15
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 629188f..bd29508 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -21,7 +21,7 @@ $(srcdir)/sed.texi: sed-in.texi $(srcdir)/groupify.sed
sed.1: $(top_srcdir)/sed/sed.c $(top_srcdir)/configure.ac $(srcdir)/sed.x
$(HELP2MAN) --name "stream editor for filtering and transforming text" \
- -p sed --include $(srcdir)/sed.x $(SED) > $(srcdir)/sed.1
+ -p sed --include $(srcdir)/sed.x -o $(srcdir)/sed.1 $(SED)
dist-hook:
touch $(distdir)/sed.1
diff --git a/doc/sed.1 b/doc/sed.1
index 84f33e4..cb1b910 100644
--- a/doc/sed.1
+++ b/doc/sed.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.28.
-.TH SED "1" "September 2007" "sed version 4.1d" "User Commands"
+.TH SED "1" "January 2009" "sed version 4.1e" "User Commands"
.SH NAME
sed \- stream editor for filtering and transforming text
.SH SYNOPSIS
@@ -370,6 +370,9 @@ Copyright \(co 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
+.PP
+E-mail bug reports to: bonzini@gnu.org .
+Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
.SH "SEE ALSO"
.BR awk (1),
.BR ed (1),