From 8e93dc629727140e950a709008f9a17ca461af63 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Thu, 18 Sep 2014 14:50:47 +0100 Subject: doc: output correct --help references with --program-prefix * src/system.h (emit_ancillary_info): Take the invariant PROGRAM_NAME as a parameter, so that consistent references are made to online docs and texinfo nodes, when a --program-prefix is in place. Note the man pages don't need this fix as they're generated before the program prefix is used. * NEWS: Mention the improvements in references to online documentation. --- src/md5sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/md5sum.c') diff --git a/src/md5sum.c b/src/md5sum.c index cd27e8060..5167f8b57 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -210,7 +210,7 @@ should be a former output of this program. The default mode is to print\n\ a line with checksum, a character indicating input mode ('*' for binary,\n\ space for text), and name for each FILE.\n"), DIGEST_REFERENCE); - emit_ancillary_info (); + emit_ancillary_info (PROGRAM_NAME); } exit (status); -- cgit v1.2.3-54-g00ecf