summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-09-09 02:05:45 +0100
committerPádraig Brady <P@draigBrady.com>2014-09-10 23:57:33 +0100
commite4627416b4be078a184372b9b0582517612a3c39 (patch)
treeadbe8c149b775608e0aaca0b913264a689c59039
parent113ca3e892e5a47fef8930633f2e1b0d9801dc5f (diff)
downloadcoreutils-e4627416b4be078a184372b9b0582517612a3c39.tar.xz
doc: adjust reference to info nodes in man pages
old form: coreutils '$cmd invocation' new form: '(coreutils) $cmd invocation' The old form erroneously referenced the node for the 'coreutils' multi-call program. Now that problematic node name was renamed in commit v8.23-18-g72e470b, but the newer less ambiguous form also has the advantage of working with the pinfo viewer for example. Full discussion at http://bugs.gnu.org/18428 * man/local.mk: Adjust man page references to texinfo nodes. * src/system.h: Adjust --help references to texinfo nodes.
-rwxr-xr-xman/dummy-man2
-rw-r--r--man/local.mk2
-rw-r--r--src/system.h3
3 files changed, 4 insertions, 3 deletions
diff --git a/man/dummy-man b/man/dummy-man
index dca2b6784..bf31912b2 100755
--- a/man/dummy-man
+++ b/man/dummy-man
@@ -69,5 +69,5 @@ The full documentation for
is maintained as a Texinfo manual, which should be accessible
on your system via the command
.IP
-.B info coreutils $bs(aq$progname invocation$bs(aq
+.B info $bs(aq(coreutils) $progname invocation$bs(aq
END
diff --git a/man/local.mk b/man/local.mk
index f4b213f7e..f2d1357b6 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -102,7 +102,7 @@ man/dynamic-deps.mk: Makefile
--source='$(PACKAGE_STRING)' \
--include=$(srcdir)/man/$$name.x \
--output=$$t/$$name.1 $$t/$$argv \
- --info-page='coreutils \(aq'$$name' invocation\(aq' \
+ --info-page='\(aq(coreutils) '$$name' invocation\(aq' \
&& sed \
-e 's|$*\.td/||g' \
-e '/For complete documentation/d' \
diff --git a/src/system.h b/src/system.h
index 162446c11..00180cb02 100644
--- a/src/system.h
+++ b/src/system.h
@@ -582,7 +582,8 @@ emit_ancillary_info (void)
last_component (program_name));
}
printf (_("For complete documentation, run: "
- "info coreutils '%s invocation'\n"), last_component (program_name));
+ "info '(coreutils) %s invocation'\n"),
+ last_component (program_name));
}
static inline void