aboutsummaryrefslogtreecommitdiffstats
path: root/ui/commandline.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-27 17:21:24 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-28 00:21:53 +0000
commit3f49e897f674008c27de9833b8ba2d119dc22ef4 (patch)
tree99849e6a9b334fde27e527eb5ff7c84b98c07fa1 /ui/commandline.h
parent72d9785cfc0d1d7e2eeebc05997d0efcec5dfa7f (diff)
Pull quit_after_cap out of the global capture options.
Really, all the GUI-related options should be pulled out, so they're not cluttering up dumpcap and tshark. Change-Id: I0276dee2be48bae3498a819d8c0c2747fe1352e7 Reviewed-on: https://code.wireshark.org/review/16180 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.h')
-rw-r--r--ui/commandline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/commandline.h b/ui/commandline.h
index 6f79bfc0e5..ecd660011c 100644
--- a/ui/commandline.h
+++ b/ui/commandline.h
@@ -54,6 +54,10 @@ typedef struct commandline_param_info
extern void commandline_other_options(int argc, char *argv[], commandline_param_info_t* param_info, gboolean opt_reset);
+#if defined(HAVE_LIBPCAP) || defined(HAVE_EXTCAP)
+gboolean quit_after_cap; /**< Makes a "capture only mode". Implies -k */
+#endif
+
#ifdef __cplusplus
}
#endif /* __cplusplus */