aboutsummaryrefslogtreecommitdiffstats
path: root/cmdarg_err.h
AgeCommit message (Collapse)AuthorFilesLines
2010-01-25Changed from using own defined GNUC_FORMAT_CHECK to G_GNUC_PRINTFstig1-4/+2
defined in GLib. Removed epan/gnuc_format_check.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31657 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-08Use Wireshark/GLib attribute specifiers instead of checking for __GNUC__ ↵krj1-10/+4
explicitly git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29804 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-17With GCC 2.x and later, mark cmdarg_err() and cmdarg_err_cont() as beingguy1-0/+10
printf-like. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16530 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-17Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn'tguy1-0/+46
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16526 f5534014-38df-0310-8fa8-9805f1628bb7