summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-29 19:54:30 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-29 19:54:30 -0800
commiteaaa1f7d261941ecda4e119890021f9a84b2e27b (patch)
tree0633d399643fd2154932e283704ad932c395f438 /client
parentf693123a76102e5b3958ad7bac9a0114f24e7b52 (diff)
client: Show adapter alias property as well
Diffstat (limited to 'client')
-rw-r--r--client/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c
index 4e860137f..529e7f318 100644
--- a/client/main.c
+++ b/client/main.c
@@ -90,7 +90,7 @@ static void print_adapter(GDBusProxy *proxy, const char *description)
dbus_message_iter_get_basic(&iter, &address);
- if (g_dbus_proxy_get_property(proxy, "Name", &iter) == TRUE)
+ if (g_dbus_proxy_get_property(proxy, "Alias", &iter) == TRUE)
dbus_message_iter_get_basic(&iter, &name);
else
name = "<unknown>";
@@ -440,6 +440,7 @@ static void cmd_show(const char *arg)
rl_printf("Controller %s\n", address);
print_property(proxy, "Name");
+ print_property(proxy, "Alias");
print_property(proxy, "Class");
print_property(proxy, "Powered");
print_property(proxy, "Discoverable");