summaryrefslogtreecommitdiff
path: root/ui/commandline.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-19 12:55:48 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-19 19:56:04 +0000
commit42985f4f175a49410dfe6c74f52fde6e733cec1b (patch)
tree1347140a2ad5f717c991d9004a134fe6442a9090 /ui/commandline.h
parent147b3d5149ec6cfce1489f9922cc5e4ac0ca2209 (diff)
downloadwireshark-42985f4f175a49410dfe6c74f52fde6e733cec1b.tar.gz
Those aren't capture options, they're the options we must process early.
The only one of those options that has anything to do with packet capture is -i, and all we do there is check for an argument of "-"; the rest are either 1) options that affect your preference settings (-C to select the profile, -P to set the personal file directory path); 2) options that just print something to the standard output or error and exit, before firing up the GUI; 3) extension command line options (-X). Change-Id: Iba9b8b14fe468e2ca9d4c67e1a9b8103603678d9 Reviewed-on: https://code.wireshark.org/review/16019 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.h')
-rw-r--r--ui/commandline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commandline.h b/ui/commandline.h
index 2f0beeec20..8cb88fdda4 100644
--- a/ui/commandline.h
+++ b/ui/commandline.h
@@ -39,7 +39,7 @@ typedef struct commandline_capture_param_info
#endif
} commandline_capture_param_info_t;
-extern void commandline_capture_options(int argc, char *argv[], commandline_capture_param_info_t* param_info);
+extern void commandline_early_options(int argc, char *argv[], commandline_capture_param_info_t* param_info);
/* Command-line options that don't have direct API calls to handle the data */
typedef struct commandline_param_info