summaryrefslogtreecommitdiff
path: root/src/comm.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-09-18 23:06:21 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-21 12:37:57 +0100
commit5d4f09d83a7c69110b4db97443759e9046c149e1 (patch)
tree150048d2ed16477e5259502ef1df2569e39bab94 /src/comm.c
parentc48003a53cbeee75dd34f5c3932a60ee97defb28 (diff)
downloadcoreutils-5d4f09d83a7c69110b4db97443759e9046c149e1.tar.gz
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
Diffstat (limited to 'src/comm.c')
-rw-r--r--src/comm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comm.c b/src/comm.c
index 63b6b0c26..e9a66b49c 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -23,6 +23,7 @@
#include "system.h"
#include "linebuffer.h"
#include "error.h"
+#include "hard-locale.h"
#include "quote.h"
#include "stdio--.h"
#include "memcmp2.h"
@@ -140,7 +141,7 @@ Examples:\n\
%s -3 file1 file2 Print lines in file1 not in file2, and vice versa.\n\
"),
program_name, program_name);
- emit_bug_reporting_address ();
+ emit_ancillary_info ();
}
exit (status);
}