]> sjero.net Git - wget/blobdiff - src/init.c
[svn] Applied contributed patches (see ChangeLog for details.)
[wget] / src / init.c
index 9be64e9a3d35508b9bd6dc855361ef853677cbc1..45ae35453bfbfac2a7cb86af1975567ae87a32ae 100644 (file)
@@ -84,6 +84,7 @@ static struct {
   { "addhostdir",      &opt.add_hostdir,       cmd_boolean },
   { "alwaysrest",      &opt.always_rest,       cmd_boolean }, /* deprecated */
   { "background",      &opt.background,        cmd_boolean },
+  { "backupconverted", &opt.backup_converted,  cmd_boolean },
   { "backups",         &opt.backups,           cmd_number },
   { "base",            &opt.base_href,         cmd_string },
   { "cache",           &opt.proxy_cache,       cmd_boolean },
@@ -133,6 +134,7 @@ static struct {
   { "quota",           &opt.quota,             cmd_bytes },
   { "reclevel",                &opt.reclevel,          cmd_number_inf },
   { "recursive",       NULL,                   cmd_spec_recursive },
+  { "referer",         &opt.referer,           cmd_string },
   { "reject",          &opt.rejects,           cmd_vector },
   { "relativeonly",    &opt.relative_only,     cmd_boolean },
   { "removelisting",   &opt.remove_listing,    cmd_boolean },
@@ -149,7 +151,8 @@ static struct {
   { "useproxy",                &opt.use_proxy,         cmd_boolean },
   { "useragent",       NULL,                   cmd_spec_useragent },
   { "verbose",         &opt.verbose,           cmd_boolean },
-  { "wait",            &opt.wait,              cmd_time }
+  { "wait",            &opt.wait,              cmd_time },
+  { "waitretry",       &opt.waitretry,         cmd_time }
 };
 
 /* Return index of COM if it is a valid command, or -1 otherwise.  COM
@@ -922,6 +925,7 @@ cleanup (void)
   FREE_MAYBE (opt.http_proxy);
   free_vec (opt.no_proxy);
   FREE_MAYBE (opt.useragent);
+  FREE_MAYBE (opt.referer);
   FREE_MAYBE (opt.http_user);
   FREE_MAYBE (opt.http_passwd);
   FREE_MAYBE (opt.user_header);