summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-06-30 10:01:09 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-06-30 10:01:09 +0300
commit0801eda508d53b5e2efc280abf84e970783e9280 (patch)
treeacc240c7d89e540ca7f42f053249261010e16370
parentf6be0cba1b23a6ebf08b1414dc896d757451942c (diff)
kmsprint: print connectors even if disconnected
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--utils/kmsprint.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 3492668..4d355fc 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -70,6 +70,8 @@ static string format_connector(Connector& c)
if (c.connected())
str += " (connected)";
+ else
+ str += " (disconnected)";
return str;
}
@@ -408,9 +410,6 @@ static void print_as_tree(Card& card)
vector<Entry> entries;
for (Connector* conn : card.get_connectors()) {
- if (!conn->connected())
- continue;
-
Entry& e1 = add_entry(entries);
e1.title = format_ob(conn);
if (s_opts.print_props)