summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-28 02:47:36 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-28 02:47:36 +0200
commitc224aace42ca3b59d18a5bc7d5f33aed7d9fb99c (patch)
tree53dac2f344317c18f90f3669935b9371a8534b6c /src/pulsecore/cli-command.c
parent1c4393acf0a641a4f462cfa6c368d23d9e55a1b8 (diff)
modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated
Diffstat (limited to 'src/pulsecore/cli-command.c')
-rw-r--r--src/pulsecore/cli-command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c
index 15fe525c..dad647a8 100644
--- a/src/pulsecore/cli-command.c
+++ b/src/pulsecore/cli-command.c
@@ -483,6 +483,8 @@ static int pa_cli_command_describe(pa_core *c, pa_tokenizer *t, pa_strbuf *buf,
if (i->usage)
pa_strbuf_printf(buf, "Usage: %s\n", i->usage);
pa_strbuf_printf(buf, "Load Once: %s\n", pa_yes_no(i->load_once));
+ if (i->deprecated)
+ pa_strbuf_printf(buf, "Warning, deprecated: %s\n", i->deprecated);
}
pa_modinfo_free(i);