summaryrefslogtreecommitdiffstats
path: root/tools/reporter.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/reporter.c')
-rw-r--r--tools/reporter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/reporter.c b/tools/reporter.c
index 1332cc39..32804f67 100644
--- a/tools/reporter.c
+++ b/tools/reporter.c
@@ -362,6 +362,8 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
separator, aligned, buffered,
headings, field_prefixes, quoted,
columns_as_rows))) {
+ if (!strcasecmp(options, "help") || !strcmp(options, "?"))
+ return r;
stack;
return ECMD_FAILED;
}