Ethereal-cvs: [Ethereal-cvs] rev 16526: /trunk/gtk/: main.c /trunk/: Makefile.common capture.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 17 Nov 2005 05:59:23 GMT
User: guy
Date: 2005/11/16 11:59 PM

Log:
 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.

Directory: /trunk/gtk/
  Changes    Path          Action
  +70 -36    main.c        Modified

Directory: /trunk/
  Changes    Path               Action
  +1 -0      Makefile.common    Modified
  +1 -1      capture.h          Modified
  +27 -26    capture_opts.c     Modified
  +9 -54     clopts_common.c    Modified
  +2 -8      clopts_common.h    Modified
  +46 -0     cmdarg_err.h       Added
  +63 -4     tethereal.c        Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16526&view=rev