summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b535c40..d6aa938 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,7 +47,8 @@ static const char usage_client_commands[] =
" -R, resync with kernel conntrack table\n"
" -n, request resync with other node (only FT-FW and NOTRACK modes)\n"
" -x, dump cache in XML format (requires -i or -e)"
- " -t, reset the kernel timeout (see PurgeTimeout clause)";
+ " -t, reset the kernel timeout (see PurgeTimeout clause)"
+ " -v, show internal debugging information (if any)";
static const char usage_options[] =
"Options:\n"
@@ -180,6 +181,10 @@ int main(int argc, char *argv[])
}
break;
+ case 'v':
+ set_operation_mode(&type, REQUEST, argv);
+ action = DEBUG_INFO;
+ break;
default:
show_usage(argv[0]);
fprintf(stderr, "Unknown option: %s\n", argv[i]);