aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-10-24 02:19:50 -0700
committerGuy Harris <guy@alum.mit.edu>2016-10-24 09:22:09 +0000
commitcd64e4ece2e0e731fa9ffc07fead9420d46d8c1a (patch)
treecfe6e65fdd836105ffc8ac62217dd739f207d6b5 /capture_opts.h
parent3acf73ec45d2548c0d8447d07a95b1b5710741fb (diff)
Move --fullscreen out of LONGOPT_CAPTURE_COMMON.
It's not a capture option, so it doesn't belong there. Change-Id: I8aa6719a5a8e90c734c7acfc01b1ba2818498de3 Reviewed-on: https://code.wireshark.org/review/18427 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/capture_opts.h b/capture_opts.h
index 4cc52f91de..944a5c1d3c 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -50,6 +50,9 @@ extern "C" {
* component of the entry for the long option, and have a case for that
* option in the switch statement.
*
+ * We also pick values <= 65535, so as to leave values > 65535 for
+ * options specific to a program.
+ *
* NOTE:
* for tshark, we're using a leading - in the optstring to prevent getopt()
* from permuting the argv[] entries, in this case, unknown argv[] entries
@@ -67,7 +70,6 @@ extern "C" {
#define LONGOPT_DISABLE_PROTOCOL 130
#define LONGOPT_ENABLE_HEURISTIC 131
#define LONGOPT_DISABLE_HEURISTIC 132
-#define LONGOPT_FULL_SCREEN 133
/*
* Options for capturing common to all capturing programs.
@@ -110,7 +112,6 @@ extern "C" {
{"disable-protocol", required_argument, NULL, LONGOPT_DISABLE_PROTOCOL }, \
{"enable-heuristic", required_argument, NULL, LONGOPT_ENABLE_HEURISTIC }, \
{"disable-heuristic", required_argument, NULL, LONGOPT_DISABLE_HEURISTIC }, \
- {"fullscreen", no_argument, NULL, LONGOPT_FULL_SCREEN },
#define OPTSTRING_CAPTURE_COMMON \
"a:" OPTSTRING_A "b:" OPTSTRING_B "c:Df:i:" OPTSTRING_I "Lps:y:"