From cc7de2ba32562311288480e3a8faba0298852299 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Tue, 21 Feb 2017 00:45:35 +0100 Subject: [PATCH] tree-wide: add man: to manpage references (#5402) Found with: git grep '"[^"]*[a-z0-9]([0-9]\+p\?)' src/ | grep -vF man: --- src/analyze/analyze.c | 2 +- src/journal/journalctl.c | 2 +- src/resolve/resolved-resolv-conf.c | 6 +++--- src/systemctl/systemctl.c | 2 +- src/update-done/update-done.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index a9402fd..ac0470b 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -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" diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 22133c5..d785b32 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -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)); diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index 13f08f8..3c62550 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -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)) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 2591ec0..c2af46d 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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; } diff --git a/src/update-done/update-done.c b/src/update-done/update-done.c index 48c2a3f..d466e1b 100644 --- a/src/update-done/update-done.c +++ b/src/update-done/update-done.c @@ -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] = { -- 2.7.4