diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-27 12:50:07 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-07 18:17:36 +0200 |
commit | 971f6ea5511a204165a7bc2f8da92f5a465dad57 (patch) | |
tree | 24a9548e13a4b3ab393ade8a1d6281159dc1bd9c /man | |
parent | 2e1ec10a62e57551e3ee17606df488816e945b49 (diff) | |
download | systemd-971f6ea5511a204165a7bc2f8da92f5a465dad57.tar.gz systemd-971f6ea5511a204165a7bc2f8da92f5a465dad57.tar.bz2 systemd-971f6ea5511a204165a7bc2f8da92f5a465dad57.zip |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-analyze.xml | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ <command>systemd-analyze</command> <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="plain">cat-config</arg> - <arg choice="plain" rep="repeat"><replaceable>NAME</replaceable></arg> + <arg choice="plain" rep="repeat"><replaceable>NAME</replaceable>|<replaceable>PATH</replaceable></arg> </cmdsynopsis> <cmdsynopsis> <command>systemd-analyze</command> @@ -190,7 +190,11 @@ to <command>systemctl cat</command>, 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.</para> + precedence. Each argument must be either an absolute path including + the prefix (such as <filename>/etc/systemd/logind.conf</filename> or + <filename>/usr/lib/systemd/logind.conf</filename>), or a name + relative to the prefix (such as <filename>systemd/logind.conf</filename>). + </para> <example> <title>Showing logind configuration</title> |