path: root/capture.h
diff options
authorGuy Harris <guy@alum.mit.edu>2005-11-17 05:59:21 +0000
committerGuy Harris <guy@alum.mit.edu>2005-11-17 05:59:21 +0000
commit2f7fd680e20345bbda6731cd041ee9ed0a04690f (patch)
tree9e6da69ba8d3c7b296f4f2d93963fe0a43cbead6 /capture.h
parent7586ab64db1b8124d5eaf91974e7237760b9ae63 (diff)
Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn't
necessary there. Add a "cmdarg_err()" routine to report command-line option errors; it creates a console if necessary, and prints the command name and the trailing newline. Also add "cmdarg_err_cont()", which also creates a console if necessary, and prints a trailing newline but no command name; it's used to continue the message. Use those, rather than "g_warning()", for errors. That means that we no longer need to pass the command name to various command-line argument parsing routines. svn path=/trunk/; revision=16526
Diffstat (limited to 'capture.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index c46c21f6e5..ce90327acb 100644
--- a/capture.h
+++ b/capture.h
@@ -104,7 +104,7 @@ extern void
capture_opts_init(capture_options *capture_opts, void *cfile);
extern void
-capture_opts_add_opt(capture_options *capture_opts, const char *appname, int opt, const char *optarg, gboolean *start_capture);
+capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg, gboolean *start_capture);
/* log content of capture_opts */
extern void