aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-20 14:47:41 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-20 21:48:10 +0000
commit85ad72c61b8ea3d6dacd03726dabb69f18b09c75 (patch)
tree8403fe7183206f07c62f5b35f07bb3456689e6e5 /capture_opts.h
parentcc4710ac5fde8f7e524637e41185eacd1aafabcd (diff)
Add long names for -a, -b, and -p.
(The name for -p matches what's in the tcpdump trunk.) Change-Id: If4f1824518aee1f0213f140d884db9c676dd15c4 Reviewed-on: https://code.wireshark.org/review/2497 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index 8c15c00476..ccff098db5 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -92,11 +92,14 @@ extern "C" {
#endif
#define LONGOPT_CAPTURE_COMMON \
+ {(char *)"autostop", required_argument, NULL, 'a'}, \
+ {(char *)"ring-buffer", required_argument, NULL, 'b'}, \
LONGOPT_BUFFER_SIZE \
{(char *)"list-interfaces", no_argument, NULL, 'D'}, \
{(char *)"interface", required_argument, NULL, 'i'}, \
LONGOPT_MONITOR_MODE \
{(char *)"list-data-link-types", no_argument, NULL, 'L'}, \
+ {(char *)"no-promiscuous-mode", no_argument, NULL, 'p'}, \
{(char *)"snapshot-length", required_argument, NULL, 's'}, \
{(char *)"linktype", required_argument, NULL, 'y'}