path: root/Makefile.common
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 /Makefile.common
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 'Makefile.common')
1 files changed, 1 insertions, 0 deletions
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 \