diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-08-02 14:22:10 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-04 22:41:49 -0400 |
commit | 4f9a91055ce83be9b6a81bdeab6d360f13ff897a (patch) | |
tree | 7a2e7ea073c8fe24d41c121b977aa16fa70cef96 /man | |
parent | 897d2029235b39c06d41ea9fbb1036ccdba0e811 (diff) |
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.xml | 10 |
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> |