aboutsummaryrefslogtreecommitdiffstats
path: root/cmdarg_err.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed from using own defined GNUC_FORMAT_CHECK to G_GNUC_PRINTFStig Bjørlykke2010-01-251-4/+2
| | | | | | defined in GLib. Removed epan/gnuc_format_check.h. svn path=/trunk/; revision=31657
* Use Wireshark/GLib attribute specifiers instead of checking for __GNUC__ ↵Kovarththanan Rajaratnam2009-09-081-10/+4
| | | | | | explicitly svn path=/trunk/; revision=29804
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* With GCC 2.x and later, mark cmdarg_err() and cmdarg_err_cont() as beingGuy Harris2005-11-171-0/+10
| | | | | | printf-like. svn path=/trunk/; revision=16530
* Handle "-G" only in Tethereal - it doesn't work in Ethereal, and isn'tGuy Harris2005-11-171-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. svn path=/trunk/; revision=16526