diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 639a7231cb..ca108c5cf9 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -1018,16 +1018,12 @@ x86-64 native - When used in conjunction with the - dot command (see above), selects which - dependencies are shown in the dependency graph. If - is passed, only dependencies of type - After= or Before= are - shown. If is passed, only - dependencies of type Requires=, - Requisite=, - Wants= and Conflicts= - are shown. If neither is passed, this shows dependencies of + When used in conjunction with the dot command (see above), + selects which dependencies are shown in the dependency graph. If is passed, + only dependencies of type After= or Before= are shown. + If is passed, only dependencies of type Requires=, + Requisite=, BindsTo=, Wants=, and + Conflicts= are shown. If neither is passed, this shows dependencies of all these types. diff --git a/src/analyze/analyze-dot.c b/src/analyze/analyze-dot.c index abb594ad0a..9e92d59bce 100644 --- a/src/analyze/analyze-dot.c +++ b/src/analyze/analyze-dot.c @@ -79,6 +79,10 @@ static int graph_one( if (r < 0) return r; + r = graph_one_property(bus, u, "BindsTo", "gold", patterns, from_patterns, to_patterns); + if (r < 0) + return r; + r = graph_one_property(bus, u, "Wants", "grey66", patterns, from_patterns, to_patterns); if (r < 0) return r; @@ -182,6 +186,7 @@ int verb_dot(int argc, char *argv[], void *userdata) { log_info(" Color legend: black = Requires\n" " dark blue = Requisite\n" + " gold = BindsTo\n" " dark grey = Wants\n" " red = Conflicts\n" " green = After\n");