diff options
author | Jason St. John <jstjohn@purdue.edu> | 2014-03-17 00:03:46 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-17 01:57:37 -0400 |
commit | 9029f64298cb70c12ecf638fddee7f41b056fcf1 (patch) | |
tree | ab4e0e3dce6b22721cf02ad69a346b80c7c900aa /man/systemctl.xml | |
parent | 3f573096641cf3d350c8779971c644ca74aab93a (diff) |
man: improve wording of systemctl's --after/--before
Commit 4a77ca7 was an attempt at fixing the wording of --after and --before,
but the new wording was unclear.
Split the combined --after/--before section into a separate section for
each, explicitly state what each option does, and add information about
how these lists are generated.
Reported-by: Andrey Borzenkov <arvidjaar@gmail.com>
Reported-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r-- | man/systemctl.xml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index cd27c4a8e1..77447dd122 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -157,12 +157,27 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. <varlistentry> <term><option>--after</option></term> + + <listitem> + <para>With <command>list-dependencies</command>, show the + units that are ordered before the specified unit. In other + words, list the units that are in the <varname>After=</varname> + directive of the specified unit, have the specified unit in + their <varname>Before=</varname> directive, or are otherwise + implicit dependencies of the specified unit.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--before</option></term> <listitem> - <para>Show after (before) which units the specified unit is started - with <command>list-dependencies</command>. - </para> + <para>With <command>list-dependencies</command>, show the + units that are ordered after the specified unit. In other + words, list the units that are in the <varname>Before=</varname> + directive of the specified unit, have the specified unit in + their <varname>After=</varname> directive, or otherwise depend + on the specified unit.</para> </listitem> </varlistentry> |