From: Jakob Matthes Date: Tue, 6 Sep 2011 13:53:39 +0000 (+0200) Subject: Do not exit prematurely when --help is passed. X-Git-Tag: v1.13.4~2 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=c3a0c1a5b5481b3b75491162270fe655774a4265 Do not exit prematurely when --help is passed. --- diff --git a/src/ChangeLog b/src/ChangeLog index 617e51ec..4469d1df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-09-06 Jakob Matthes (tiny change) + + * main.c (print_version): Do not exit prematurely when --help is passed. + 2011-09-04 Christian Jullien (tiny change) * gnutls.c: Include . diff --git a/src/main.c b/src/main.c index 9b704d1f..7dffd5df 100644 --- a/src/main.c +++ b/src/main.c @@ -710,7 +710,7 @@ Recursive accept/reject:\n"), size_t i; if (printf (_("GNU Wget %s, a non-interactive network retriever.\n"), - version_string)) + version_string) < 0) exit (3); if (print_usage (0) < 0) exit (3);