summaryrefslogtreecommitdiffstats
path: root/src/daemon/dumpmodules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dumpmodules.c')
-rw-r--r--src/daemon/dumpmodules.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c
index 01547a30..cd6866aa 100644
--- a/src/daemon/dumpmodules.c
+++ b/src/daemon/dumpmodules.c
@@ -1,5 +1,3 @@
-/* $Id$ */
-
/***
This file is part of PulseAudio.
@@ -44,7 +42,7 @@
static void short_info(const char *name, PA_GCC_UNUSED const char *path, pa_modinfo *i) {
pa_assert(name);
pa_assert(i);
-
+
printf("%-40s%s\n", name, i->description ? i->description : "n/a");
}
@@ -71,6 +69,7 @@ static void long_info(const char *name, const char *path, pa_modinfo *i) {
printf("Author: %s\n", i->author);
if (i->usage)
printf("Usage: %s\n", i->usage);
+ printf("Load Once: %s\n", pa_yes_no(i->load_once));
}
if (path)
@@ -81,7 +80,7 @@ static void show_info(const char *name, const char *path, void (*info)(const cha
pa_modinfo *i;
pa_assert(name);
-
+
if ((i = pa_modinfo_get_by_name(path ? path : name))) {
info(name, path, i);
pa_modinfo_free(i);
@@ -128,7 +127,7 @@ static int callback(const char *path, lt_ptr data) {
void pa_dump_modules(pa_daemon_conf *c, int argc, char * const argv[]) {
pa_assert(c);
-
+
if (argc > 0) {
int i;
for (i = 0; i < argc; i++)