X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=03c6b86219a677650874de64afe91f90b28b397d;hp=53e27ce9bdb4b4ccbfd639bf6021bbe562d0ef97;hb=b5c9573ad6396acf3e4e33d0ae0db65b413b0d66;hpb=6230b73df0c2a47a175f25e34ef7bfe009ddf1f9 diff --git a/src/main.c b/src/main.c index 53e27ce9..03c6b862 100644 --- a/src/main.c +++ b/src/main.c @@ -266,6 +266,7 @@ static struct cmdline_option option_data[] = { "timeout", 'T', OPT_VALUE, "timeout", -1 }, { "timestamping", 'N', OPT_BOOLEAN, "timestamping", -1 }, { "tries", 't', OPT_VALUE, "tries", -1 }, + { "unlink", 0, OPT_BOOLEAN, "unlink", -1 }, { "trust-server-names", 0, OPT_BOOLEAN, "trustservernames", -1 }, { "use-server-timestamps", 0, OPT_BOOLEAN, "useservertimestamps", -1 }, { "user", 0, OPT_VALUE, "user", -1 }, @@ -515,6 +516,8 @@ Download:\n"), --local-encoding=ENC use ENC as the local encoding for IRIs.\n"), N_("\ --remote-encoding=ENC use ENC as the default remote encoding.\n"), + N_("\ + --unlink remove file before clobber.\n"), "\n", N_("\