Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk main.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 May 2002 18:22:57 -0500 (CDT)
guy         2002/05/22 18:22:57 CDT

  Modified files:
    gtk                  main.c 
  Log:
  Command-line interface cleanups, from Graeme Hewson:
  
  	- Exit if an error is found in the options or arguments.
  
  	- In print_usage(), improve the visibility of any getopt() error
  	  message by suppressing the version information when -h is not
  	  specified, and by adding an empty line.
  
  	Ethereal:
  
  	- If the -k option is specified, use the interface in the preferences
  	  file, if present.
  
  	- Prevent the user from specifying any hidden options which are used
  	  internally in -S mode.
  
  	Tethereal:
  
  	- Fix a memory leak in the processing of the -f option.
  
  	- In print_usage(), change "capture file type" to "output file type",
  	  which I think is clearer; move the -q flag from the non-libpcap case
  	  to the libpcap case.
  
  Revision  Changes    Path
  1.250     +60 -35    ethereal/gtk/main.c