wget: new option --follow-metalink
Created by: giuseppe
- src/options.h (struct config): Define follow_metalink.
- src/options.c (print_help): Add description for follow-metalink. (struct options): Add follow-metalink. (struct config): Initialize follow_metalink.
- src/wget.c (downloader_thread): Skip following metalinks when follow_metalink is off. (_get_header): Store the metalink file when follow_metalink is false.