]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: adjust reference to info nodes in man pages
authorPádraig Brady <P@draigBrady.com>
Tue, 9 Sep 2014 01:05:45 +0000 (02:05 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 10 Sep 2014 22:57:33 +0000 (23:57 +0100)
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.

man/dummy-man
man/local.mk
src/system.h

index dca2b67844083fdfe14e26cb6170662706ae2456..bf31912b2eae0a0cdf11242b8cc27d597d5cb92d 100755 (executable)
@@ -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
index f4b213f7e825322c2a3105928a64b62a968d5434..f2d1357b697b19a26b1f3a6c686e7eb11c12fe84 100644 (file)
@@ -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' \
index 162446c11aa50698876afe4008b6549d5a962cc7..00180cb02b1a9c5dd788f35173f0bef454ac3bc5 100644 (file)
@@ -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