]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: move some info from all --help messages, online
authorPádraig Brady <P@draigBrady.com>
Thu, 28 Feb 2013 02:07:28 +0000 (02:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 28 Feb 2013 11:03:01 +0000 (11:03 +0000)
* src/system.h (emit_ancillary_info): Link to the bug report email
addresses and general help URLs online rather than specifying directly.
This give us greater scope to present better info like describing
the difference between bug-coreutils@gnu.org and coreutils@gnu.org etc.
* tests/misc/help-version.sh: Remove the check for bug-coreutils@gnu.org
* tests/local.mk: Remove the no longer needed PACKAGE_BUGREPORT.

src/system.h
tests/local.mk
tests/misc/help-version.sh

index 0605a2f2e57ce0703adc44bedcf1c3dcbae7f342..94c968fbd37a9f3201346916cb6d064dba60ab5f 100644 (file)
@@ -564,11 +564,7 @@ Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).\n\
 static inline void
 emit_ancillary_info (void)
 {
-  printf (_("\nReport %s bugs to %s\n"), last_component (program_name),
-          PACKAGE_BUGREPORT);
-  printf (_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
-  fputs (_("General help using GNU software: <http://www.gnu.org/gethelp/>\n"),
-         stdout);
+  printf (_("\n%s online help: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);
   /* Don't output this redundant message for English locales.
      Note we still output for 'C' so that it gets included in the man page.  */
   const char *lc_messages = setlocale (LC_MESSAGES, NULL);
index 9be197025876809aeaa45d9068e09b259053acee..607ddc4d9014a2a1e5f8e2d9c135e60fc8b48d05 100644 (file)
@@ -77,7 +77,6 @@ TESTS_ENVIRONMENT =                           \
   EGREP='$(EGREP)'                             \
   EXEEXT='$(EXEEXT)'                           \
   MAKE=$(MAKE)                                 \
-  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'     \
   PACKAGE_VERSION=$(PACKAGE_VERSION)           \
   PERL='$(PERL)'                               \
   PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
index 00f30cd0258c5c7c41a8f4a362f66d1594ecba6e..1a79488f4c35ec2fd3fc51fd9fd98e82c74518af 100755 (executable)
@@ -87,13 +87,9 @@ for lang in C fr da; do
     test $i = install && i=ginstall
 
     # Make sure they exit successfully, under normal conditions.
-    env $i --help    > h-$i     || fail=1
+    env $i --help    >/dev/null || fail=1
     env $i --version >/dev/null || fail=1
 
-    # Make sure they mention the bug-reporting address in --help output.
-    grep "$PACKAGE_BUGREPORT" h-$i > /dev/null || fail=1
-    rm -f h-$i
-
     # Make sure they fail upon 'disk full' error.
     if test -w /dev/full && test -c /dev/full; then
       env $i --help    >/dev/full 2>/dev/null && fail=1