summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-29 22:19:54 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-29 22:19:54 -0800
commit108960e0262df6a9c809b485a8d0ec671ef59b78 (patch)
tree55ee4e611326def2e52d07043a64f3328c63604b
parent30aae145696071b4e19e54ae19f72e4fb8967c56 (diff)
downloadbluez-108960e0262df6a9c809b485a8d0ec671ef59b78.tar.gz
client: Print modalias properties if available
-rw-r--r--client/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c
index 4ea6fe38f..5b0b7455b 100644
--- a/client/main.c
+++ b/client/main.c
@@ -446,6 +446,7 @@ static void cmd_show(const char *arg)
print_property(proxy, "Discoverable");
print_property(proxy, "Pairable");
print_uuids(proxy);
+ print_property(proxy, "Modalias");
print_property(proxy, "Discovering");
}
@@ -695,6 +696,7 @@ static void cmd_info(const char *arg)
rl_printf("Device %s\n", address);
print_property(proxy, "Name");
+ print_property(proxy, "Alias");
print_property(proxy, "Class");
print_property(proxy, "Appearance");
print_property(proxy, "Icon");
@@ -704,11 +706,11 @@ static void cmd_info(const char *arg)
print_property(proxy, "Connected");
print_property(proxy, "LegacyPairing");
print_uuids(proxy);
+ print_property(proxy, "Modalias");
print_property(proxy, "VendorSource");
print_property(proxy, "Vendor");
print_property(proxy, "Product");
print_property(proxy, "Version");
- print_property(proxy, "Alias");
}
static void pair_reply(DBusMessage *message, void *user_data)