]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: add man: to manpage references (#5402)
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Mon, 20 Feb 2017 23:45:35 +0000 (00:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Feb 2017 23:45:35 +0000 (18:45 -0500)
Found with:

    git grep '"[^"]*[a-z0-9]([0-9]\+p\?)' src/ | grep -vF man:

src/analyze/analyze.c
src/journal/journalctl.c
src/resolve/resolved-resolv-conf.c
src/systemctl/systemctl.c
src/update-done/update-done.c

index a9402fdb286150b4d2f0deead564178d89ff955b..ac0470b20d931fae3e323823c659529b4c75092d 100644 (file)
@@ -1362,7 +1362,7 @@ static void help(void) {
                "  blame                    Print list of running units ordered by time to init\n"
                "  critical-chain           Print a tree of the time critical chain of units\n"
                "  plot                     Output SVG graphic showing service initialization\n"
-               "  dot                      Output dependency graph in dot(1) format\n"
+               "  dot                      Output dependency graph in man:dot(1) format\n"
                "  set-log-level LEVEL      Set logging threshold for manager\n"
                "  set-log-target TARGET    Set logging target for manager\n"
                "  dump                     Output state serialization of service manager\n"
index 22133c51eb7ebc97618bd1a85b1465e0fb6f14f5..d785b32f1cb88794ca56b65b3b87fbaaeed457c6 100644 (file)
@@ -912,7 +912,7 @@ static int generate_new_id128(void) {
                SD_ID128_FORMAT_STR "\n\n"
                "As UUID:\n"
                "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x\n\n"
-               "As sd-id128(3) macro:\n"
+               "As man:sd-id128(3) macro:\n"
                "#define MESSAGE_XYZ SD_ID128_MAKE(",
                SD_ID128_FORMAT_VAL(id),
                SD_ID128_FORMAT_VAL(id));
index 13f08f8a6c2884cd11a328c15b65c4085362fc37..3c62550872688a5990971d1dcb84bcb9b356c4c5 100644 (file)
@@ -203,13 +203,13 @@ static void write_resolv_conf_search(
 static int write_resolv_conf_contents(FILE *f, OrderedSet *dns, OrderedSet *domains) {
         Iterator i;
 
-        fputs("# This file is managed by systemd-resolved(8). Do not edit.\n#\n"
+        fputs("# This file is managed by man:systemd-resolved(8). Do not edit.\n#\n"
               "# This is a dynamic resolv.conf file for connecting local clients directly to\n"
               "# all known DNS servers.\n#\n"
               "# Third party programs must not access this file directly, but only through the\n"
-              "# symlink at /etc/resolv.conf. To manage resolv.conf(5) in a different way,\n"
+              "# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,\n"
               "# replace this symlink by a static file or a different symlink.\n#\n"
-              "# See systemd-resolved.service(8) for details about the supported modes of\n"
+              "# See man:systemd-resolved.service(8) for details about the supported modes of\n"
               "# operation for /etc/resolv.conf.\n\n", f);
 
         if (ordered_set_isempty(dns))
index 2591ec0b697f18dfa901f04873958a6b708ef78f..c2af46d4ee1d0a13a2e65404e8f1f7fd8cbc1c26 100644 (file)
@@ -3557,7 +3557,7 @@ static int start_special(int argc, char *argv[], void *userdata) {
 
         if (termination_action && arg_force < 2 &&
             IN_SET(r, -ENOENT, -ETIMEDOUT))
-                log_notice("It is possible to perform action directly, see discussion of --force --force in systemctl(1).");
+                log_notice("It is possible to perform action directly, see discussion of --force --force in man:systemctl(1).");
 
         return r;
 }
index 48c2a3fff4eb048ed6c92b48a0c4102123438f7e..d466e1b759a7c44aeb6b2d5742697a5ea5cff299 100644 (file)
@@ -26,7 +26,7 @@
 #define MESSAGE                                                         \
         "# This file was created by systemd-update-done. Its only \n"   \
         "# purpose is to hold a timestamp of the time this directory\n" \
-        "# was updated. See systemd-update-done.service(8).\n"
+        "# was updated. See man:systemd-update-done.service(8).\n"
 
 static int apply_timestamp(const char *path, struct timespec *ts) {
         struct timespec twice[2] = {