From 3f49e897f674008c27de9833b8ba2d119dc22ef4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 27 Jun 2016 17:21:24 -0700 Subject: 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 --- ui/commandline.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/commandline.h') 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 */ -- cgit v1.2.1