diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-20 14:47:41 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-20 21:48:10 +0000 |
commit | 85ad72c61b8ea3d6dacd03726dabb69f18b09c75 (patch) | |
tree | 8403fe7183206f07c62f5b35f07bb3456689e6e5 /capture_opts.h | |
parent | cc4710ac5fde8f7e524637e41185eacd1aafabcd (diff) | |
download | wireshark-85ad72c61b8ea3d6dacd03726dabb69f18b09c75.tar.gz wireshark-85ad72c61b8ea3d6dacd03726dabb69f18b09c75.tar.bz2 wireshark-85ad72c61b8ea3d6dacd03726dabb69f18b09c75.zip |
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.h | 3 |
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'} |