summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-02 12:24:34 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-03 09:35:36 -0400
commitd5efc18b609ad8cfe63325c8b4f82264e56eadf3 (patch)
tree75741432775af12171e0f7ca6229a7ce8031f147 /src/analyze
parent40eb6a801427e28a237d32869639fffc8436c930 (diff)
seccomp-util, analyze: export comments as a help string
Just to make the whole thing easier for users.
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index 0495fca17d..83e1cdf11d 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -1280,6 +1280,7 @@ static void dump_syscall_filter(const SyscallFilterSet *set) {
const char *syscall;
printf("%s\n", set->name);
+ printf(" # %s\n", set->help);
NULSTR_FOREACH(syscall, set->value)
printf(" %s\n", syscall);
}