aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2014-01-11 20:40:43 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2014-01-11 20:40:43 +0000
commit4210311b6985f957ad4073b410678685f0494865 (patch)
tree71e2efd690c15c148af5e7fb4379056781e992dd
parent31e24e47dbf8d3b832e3d087741c5f7e30eacdd7 (diff)
Clean up OPTSTRING, removing ':'s from options that don't expect args and removing the G option completely, as it doesn't appear to be supported.
svn path=/trunk/; revision=54698
-rw-r--r--tfshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tfshark.c b/tfshark.c
index 80edc44e0b..6e80fb3445 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -784,7 +784,7 @@ main(int argc, char *argv[])
/* the leading - ensures that getopt() does not permute the argv[] entries
we have to make sure that the first getopt() preserves the content of argv[]
for the subsequent getopt_long() call */
-#define OPTSTRING "-2:C:d:e:E:G:h:K:l:o:O:qQr:R:S:t:T:u:vV:xX:Y:z:"
+#define OPTSTRING "-2C:d:e:E:hK:lo:O:qQr:R:S:t:T:u:vVxX:Y:z:"
static const char optstring[] = OPTSTRING;