1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Do not exit prematurely when --help is passed.

This commit is contained in:
Jakob Matthes 2011-09-06 15:53:39 +02:00 committed by Giuseppe Scrivano
parent 85797041a6
commit c3a0c1a5b5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-09-06 Jakob Matthes <jakob.matthes@gmail.com> (tiny change)
* main.c (print_version): Do not exit prematurely when --help is passed.
2011-09-04 Christian Jullien <eligis@orange.fr> (tiny change)
* gnutls.c: Include <sys/fcntl.h>.

View File

@ -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);