From 5d4f09d83a7c69110b4db97443759e9046c149e1 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Fri, 18 Sep 2009 23:06:21 +0100
Subject: doc: mention the texinfo documentation in --help
* src/system.h: Rename emit_bug_reporting_address() to
emit_ancillary_info() and update it to not print the translation
project address in en_* locales, and _do_ print it in the 'C'
(and other) locales so that it's included in the default man page.
Also mention how to invoke the texinfo documentation for each command.
Also move the "hard-locale.h" include to the 8 files that now use it.
* man/help2man: Strip the newly added texinfo reference from the
--help output as a more verbose version is already added by help2man.
Suggestion from C de-Avillez
---
src/system.h | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
(limited to 'src/system.h')
diff --git a/src/system.h b/src/system.h
index a15c298b8..ce7114891 100644
--- a/src/system.h
+++ b/src/system.h
@@ -635,9 +635,8 @@ Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).\n\
"), program);
}
-#include "hard-locale.h"
static inline void
-emit_bug_reporting_address (void)
+emit_ancillary_info (void)
{
printf (_("\nReport %s bugs to %s\n"), last_component (program_name),
PACKAGE_BUGREPORT);
@@ -646,8 +645,10 @@ emit_bug_reporting_address (void)
PACKAGE_NAME, PACKAGE);
fputs (_("General help using GNU software: