From 971f6ea5511a204165a7bc2f8da92f5a465dad57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 27 Apr 2018 12:50:07 +0200 Subject: analyze: allow full paths for cat-config $ systemd-analyze cat-config systemd/logind.conf $ systemd-analyze cat-config /etc/systemd/logind.conf $ systemd-analyze cat-config /usr/lib/systemd/logind.conf are all equvalent, $ systemd-analyze cat-config /var/systemd/logind.conf is an error. --- man/systemd-analyze.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 1c43531871..0d2ccd7bfe 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -82,7 +82,7 @@ systemd-analyze OPTIONS cat-config - NAME + NAME|PATH systemd-analyze @@ -190,7 +190,11 @@ to systemctl cat, but operates on config files. It will copy the contents of a config file and any drop-ins to standard output, using the usual systemd set of directories and rules for - precedence. + precedence. Each argument must be either an absolute path including + the prefix (such as /etc/systemd/logind.conf or + /usr/lib/systemd/logind.conf), or a name + relative to the prefix (such as systemd/logind.conf). + Showing logind configuration -- cgit v1.2.3