chiark / gitweb /
bus: whenever we notice the connection is terminated enter CLOSING state
[elogind.git] / src / libsystemd-bus / busctl.c
index 4d4f38e0a80aefe06aafff60ccdef7059514a1d4..7649be29f46907f1ad84194d8437866fc0034de1 100644 (file)
@@ -88,6 +88,10 @@ static int list_bus_names(sd_bus *bus, char **argv) {
                 if (arg_no_unique && (*i)[0] == ':')
                         continue;
 
+                /* Skip the bus driver */
+                if (streq(*i, "org.freedesktop.DBus"))
+                        continue;
+
                 printf("%-*s", (int) max_i, *i);
 
                 r = sd_bus_get_owner(bus, *i, SD_BUS_CREDS_UID|SD_BUS_CREDS_PID|SD_BUS_CREDS_COMM, &owner, &creds);
@@ -227,8 +231,8 @@ static int help(void) {
                "  -M --machine=CONTAINER  Operate on local container\n"
                "     --address=ADDRESS    Connect to bus specified by address\n"
                "     --no-unique          Only show well-known names\n"
-               "     --no-machine         Don't show machine ID column in list\n\n"
-               "     --match=MATCH        Only show matching messages\n"
+               "     --no-machine         Don't show machine ID column in list\n"
+               "     --match=MATCH        Only show matching messages\n\n"
                "Commands:\n"
                "  list                    List bus names\n"
                "  monitor [SERVICE...]    Show bus traffic\n",