diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-10 18:03:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-07-10 18:05:47 +0200 |
commit | c147dc42f8b3383a3ced69aaa75e21df4fe75a96 (patch) | |
tree | 210941651fe208730ca542d9232963854ac678e6 /man/systemctl.xml | |
parent | f69614f811b133ececad4394e88f9549a017bd4e (diff) |
systemctl: filter shown units by their load state
E.g. systemctl --all -t masked gives the list of masked units.
The -t/--type option is reused. This is possible because unit types
and unit load states are called differently, so it is possible to
distinguish what the user meant. Using the same option also means that
the interface is user for the user: less options to remember.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r-- | man/systemctl.xml | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index e3d22a7b5b..bf31b6114d 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -87,14 +87,26 @@ <term><option>--type=</option></term> <term><option>-t</option></term> - <listitem><para>When listing units, - limit display to certain unit - types. If not specified units of all - types will be shown. The argument - should be a unit type name such as - <option>service</option>, - <option>socket</option> and - similar.</para></listitem> + <listitem><para>The argument should + be a unit type name such as + <option>service</option> and + <option>socket</option>, + or a unit load state such as + <option>loaded</option> and + <option>masked</option>. + </para> + + <para>If the argument is a unit type, + when listing units, limit display to + certain unit types. If not specified + units of all types will be shown.</para> + + <para>If the argument is a unit load state, + when listing units, limit display to + certain unit types. If not specified + units of in all load states will be + shown.</para> + </listitem> </varlistentry> <varlistentry> |