[PATCH] Clean up 'setup --help' output a bit

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Thu Feb 23 18:55:00 GMT 2012

On Thu, Feb 23, 2012 at 04:27:01PM +0000, Jon TURNEY wrote:
>Avoid lines like the following preceding the useful output from 'setup --help':
>io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or directory
>io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or directory
>Current Directory: \\Necker\download\cygwin
>2012-02-23  Jon TURNEY  <jon.turney@dronecode.org.uk>
>	* main.cc (main_display): Move --help output from here ...
>	(WinMain): ... to here, so we don't logging of the current directory and
>	any errors from constructing a UserSettings object preceding the --help output.

THANK YOU!  I've been meaning to do this for a long time.  I appreciate your
doing this.

Please check in.


More information about the Cygwin-apps mailing list