aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-29 09:39:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-29 09:39:03 +0000
commit66efb875d0e363c230f1e30d826694b0719a0d40 (patch)
tree3587f8963646fbe6c5d574407129d873c5b4e280 /src
parenta84ac65a88a1a2bde444be3b3e982309bee4bcb7 (diff)
downloadrspamd-66efb875d0e363c230f1e30d826694b0719a0d40.tar.gz
rspamd-66efb875d0e363c230f1e30d826694b0719a0d40.zip
Show 'keyword' when '-k' is specified
Diffstat (limited to 'src')
-rw-r--r--src/rspamadm/confighelp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c
index 1c2aaaf81..d94d2ff91 100644
--- a/src/rspamadm/confighelp.c
+++ b/src/rspamadm/confighelp.c
@@ -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");