Don't make -l warn when it's not used, so we can potentially set it
all the time if we want to use "link" behavior for file URLs (and not have fetch whine at us when they're not).
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* $Id: main.c,v 1.17 1996/08/22 21:30:51 jkh Exp $ */
|
||||
/* $Id: main.c,v 1.18 1996/08/22 23:25:24 jkh Exp $ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
@@ -202,9 +202,6 @@ main(int argc, char **argv)
|
||||
if (mirror && restart)
|
||||
errx(1, "-m and -r are mutually exclusive.");
|
||||
|
||||
if ((ftp || http) && linkfile)
|
||||
warnx("-l flag is meaningless with http or ftp URL specifications");
|
||||
|
||||
output_file_name();
|
||||
|
||||
signal(SIGHUP, die);
|
||||
|
||||
Reference in New Issue
Block a user