From 2f7fd680e20345bbda6731cd041ee9ed0a04690f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 17 Nov 2005 05:59:21 +0000 Subject: 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 --- Makefile.common | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 1ecf008e9d..934b658b62 100644 --- a/Makefile.common +++ b/Makefile.common @@ -71,6 +71,7 @@ ETHEREAL_COMMON_INCLUDES = \ capture_ui_utils.h \ cfile.h \ clopts_common.h \ + cmdarg_err.h \ color.h \ conditions.h \ disabled_protos.h \ -- cgit v1.2.3