]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Show 'keyword' when '-k' is specified
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 29 Dec 2015 09:39:03 +0000 (09:39 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 29 Dec 2015 09:39:03 +0000 (09:39 +0000)
src/rspamadm/confighelp.c

index 1c2aaaf81e9a3ecbb48aa35ccbc38dbaca3d5c5a..d94d2ff9190bfc047432190988ffb2b166338a74 100644 (file)
@@ -96,7 +96,8 @@ rspamadm_confighelp_show (const char *key, const ucl_object_t *obj)
        else {
                /* TODO: add lua helper for output */
                if (key) {
-                       rspamd_fprintf (stdout, "Showing help for %s:\n", key);
+                       rspamd_fprintf (stdout, "Showing help for %s%s:\n",
+                                       keyword ? "keyword " : "", key);
                }
                else {
                        rspamd_fprintf (stdout, "Showing help for all options:\n");