summaryrefslogtreecommitdiff
path: root/rpcapd
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-01-09 13:30:35 -0800
committerGuy Harris <guy@alum.mit.edu>2019-01-09 13:30:35 -0800
commit3f007f04a84bfdfdb308ecf079cf7e6441004393 (patch)
tree7e394ee30a669f11c39f42da4f45bb44f85c48f2 /rpcapd
parent05d359811683ef6243118170037dac226e770a37 (diff)
downloadlibpcap-3f007f04a84bfdfdb308ecf079cf7e6441004393.tar.gz
Document the -D option.
Diffstat (limited to 'rpcapd')
-rw-r--r--rpcapd/rpcapd.c3
-rw-r--r--rpcapd/rpcapd.manadmin.in5
2 files changed, 7 insertions, 1 deletions
diff --git a/rpcapd/rpcapd.c b/rpcapd/rpcapd.c
index ce1b1e3f..03e85afe 100644
--- a/rpcapd/rpcapd.c
+++ b/rpcapd/rpcapd.c
@@ -126,7 +126,7 @@ static void printusage(void)
#ifndef _WIN32
"[-i] "
#endif
- "[-s <config_file>] [-f <config_file>]\n\n"
+ "[-D] [-s <config_file>] [-f <config_file>]\n\n"
" -b <address> the address to bind to (either numeric or literal).\n"
" Default: binds to all local IPv4 and IPv6 addresses\n\n"
" -p <port> the port to bind to.\n"
@@ -149,6 +149,7 @@ static void printusage(void)
#ifndef _WIN32
" -i run in inetd mode (UNIX only)\n\n"
#endif
+ " -D log debugging messages\n\n"
#ifdef HAVE_OPENSSL
" -S encrypt all communication with SSL (implements rpcaps://)\n"
" -C enable compression\n"
diff --git a/rpcapd/rpcapd.manadmin.in b/rpcapd/rpcapd.manadmin.in
index 6e70ff88..dd865ea3 100644
--- a/rpcapd/rpcapd.manadmin.in
+++ b/rpcapd/rpcapd.manadmin.in
@@ -65,6 +65,8 @@ rpcapd
.br
.ti +8
[
+.B \-D
+] [
.B \-s
.I config_file
]
@@ -221,6 +223,9 @@ the service is started from the control panel.
.B \-i
Run in inetd mode (UNIX only).
.TP
+.B \-D
+Log debugging messages.
+.TP
.BI \-s " config_file"
Save the current configuration to
.I config_file