diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-29 09:39:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-29 09:39:03 +0000 |
commit | 66efb875d0e363c230f1e30d826694b0719a0d40 (patch) | |
tree | 3587f8963646fbe6c5d574407129d873c5b4e280 /src/rspamadm/confighelp.c | |
parent | a84ac65a88a1a2bde444be3b3e982309bee4bcb7 (diff) | |
download | rspamd-66efb875d0e363c230f1e30d826694b0719a0d40.tar.gz rspamd-66efb875d0e363c230f1e30d826694b0719a0d40.zip |
Show 'keyword' when '-k' is specified
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r-- | src/rspamadm/confighelp.c | 3 |
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"); |