From: Yu Watanabe Date: Tue, 1 May 2018 07:39:36 +0000 (+0900) Subject: resolve: update comments to mention resolvectl X-Git-Tag: v239~313^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bc53feeace7007ebdaef21294d82291de301e2e;p=thirdparty%2Fsystemd.git resolve: update comments to mention resolvectl --- diff --git a/src/resolve/resolv.conf b/src/resolve/resolv.conf index 34a6b9257f0..ffc460dbf29 100644 --- a/src/resolve/resolv.conf +++ b/src/resolve/resolv.conf @@ -4,7 +4,7 @@ # internal DNS stub resolver of systemd-resolved. This file lists no search # domains. # -# Run "systemd-resolve --status" to see details about the uplink DNS servers +# Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs must not access this file directly, but only through the diff --git a/src/resolve/resolvconf-compat.c b/src/resolve/resolvconf-compat.c index a6b327e2f0e..d7e68003e68 100644 --- a/src/resolve/resolvconf-compat.c +++ b/src/resolve/resolvconf-compat.c @@ -27,7 +27,7 @@ static void resolvconf_help(void) { " -f Ignore if specified interface does not exist\n" " -x Send DNS traffic preferably over this interface\n" "\n" - "This is a compatibility alias for the systemd-resolve(1) tool, providing native\n" + "This is a compatibility alias for the resolvectl(1) tool, providing native\n" "command line compatibility with the resolvconf(8) tool of various Linux\n" "distributions and BSD systems. Some options supported by other implementations\n" "are not supported and are ignored: -m, -p. Various options supported by other\n" diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index 4626eb4da79..b0942b701ce 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -268,7 +268,7 @@ static int write_stub_resolv_conf_contents(FILE *f, OrderedSet *dns, OrderedSet "# internal DNS stub resolver of systemd-resolved. This file lists all\n" "# configured search domains.\n" "#\n" - "# Run \"systemd-resolve --status\" to see details about the uplink DNS servers\n" + "# Run \"resolvectl status\" to see details about the uplink DNS servers\n" "# currently in use.\n" "#\n" "# Third party programs must not access this file directly, but only through the\n"