summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-08-02 20:22:10 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-05 04:41:49 +0200
commit4f9a91055ce83be9b6a81bdeab6d360f13ff897a (patch)
tree7a2e7ea073c8fe24d41c121b977aa16fa70cef96 /man
parentMerge pull request #2842 from petrosagg/nspawn-doc-fix (diff)
downloadsystemd-4f9a91055ce83be9b6a81bdeab6d360f13ff897a.tar.xz
systemd-4f9a91055ce83be9b6a81bdeab6d360f13ff897a.zip
systemctl: add --value option
With this option, systemctl will only print the rhs in show: $ systemctl show -p Wants,After systemd-journald --value systemd-journald.socket ... systemd-journald-dev-log.socket ... This is useful in scripts, because the need to call awk or similar is removed.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 1480bf8380..089fb0f5c3 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -233,6 +233,16 @@
</varlistentry>
<varlistentry>
+ <term><option>--value</option></term>
+
+ <listitem>
+ <para>When printing properties with <command>show</command>,
+ only print the value, and skip the property name and
+ <literal>=</literal>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--show-types</option></term>
<listitem>