modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated

This commit is contained in:
Lennart Poettering 2009-05-28 02:47:36 +02:00
parent 1c4393acf0
commit c224aace42
11 changed files with 31 additions and 2 deletions

View file

@ -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);