summaryrefslogtreecommitdiff
path: root/man/systemd-analyze.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-13 18:38:33 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-02-16 13:16:46 -0500
commit6ecb6cec66739d733e95302031998f517261380c (patch)
tree3ea4c1e6008dc76e714913d1c9cee11de83d2176 /man/systemd-analyze.xml
parentee5de57b9d474161df259e7faa958fa9d7bbd736 (diff)
analyze: change behaviour of combined --to/from--pattern
We would require a match against all three: patterns specified with --to, with --from, and as positional arguments to show an edge. This does not seem useful. Let instead the positional args behave like they were specified in both --to and --from, which is fairly intuitive and should be more useful.
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r--man/systemd-analyze.xml23
1 files changed, 16 insertions, 7 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 61315a0d89..1ff81d3d5a 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -227,13 +227,22 @@
<listitem><para>When used in conjunction with the
<command>dot</command> command (see above), this selects which
- relationships are shown in the dependency graph. They both
- require
+ relationships are shown in the dependency graph. Both options
+ require a
<citerefentry><refentrytitle>glob</refentrytitle><manvolnum>7</manvolnum></citerefentry>
- patterns as arguments, which are matched against left-hand and
- right-hand, respectively, nodes of a relationship. Each of
- these can be used more than once, which means a unit name must
- match one of the given values.</para></listitem>
+ pattern as an argument, which will be matched against the
+ left-hand and the right-hand, respectively, nodes of a
+ relationship.</para>
+
+ <para>Each of these can be used more than once, in which case
+ the unit name must match one of the values. When tests for
+ both sides of the relation are present, a relation must pass
+ both tests to be shown. When patterns are also specified as
+ positional arguments, they must match at least one side of the
+ relation. In other words, patterns specified with those two
+ options will trim the list of edges matched by the positional
+ arguments, if any are given, and fully determine the list of
+ edges shown otherwise.</para></listitem>
</varlistentry>
<varlistentry>
@@ -252,7 +261,7 @@
<term><option>--no-man</option></term>
<listitem><para>Do not invoke man to verify the existence of
- man pages listen in <varname>Documentation=</varname>.
+ man pages listed in <varname>Documentation=</varname>.
</para></listitem>
</varlistentry>