summaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/rspamc.c')
-rw-r--r--src/client/rspamc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 9424c4bb4..ff43bbc16 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -196,6 +196,7 @@ show_metric_result (gpointer key, gpointer value, gpointer ud)
first = FALSE;
}
PRINT_FUNC ("%s(%.2f)", s->name, s->weight);
+
if (s->options) {
PRINT_FUNC ("(");
cur = g_list_first (s->options);
@@ -209,7 +210,9 @@ show_metric_result (gpointer key, gpointer value, gpointer ud)
cur = g_list_next (cur);
}
}
-
+ if (s->description) {
+ PRINT_FUNC (" - \"%s\"", s->description);
+ }
}
}
PRINT_FUNC ("\n");