]> sjero.net Git - wget/blobdiff - src/options.h
added option --https-only
[wget] / src / options.h
index ed38617a866139dfefe476b7d6d7dd942bf4245e..4460c6c60887594325cfc74dedcd4d8793e2d2b3 100644 (file)
@@ -166,7 +166,7 @@ struct options
   bool timestamping;           /* Whether to use time-stamping. */
 
   bool backup_converted;       /* Do we save pre-converted files as *.orig? */
-  bool backups;                        /* Are numeric backups made? */
+  int backups;                 /* Are numeric backups made? */
 
   char *useragent;             /* User-Agent string, which can be set
                                   to something other than Wget. */
@@ -215,9 +215,9 @@ struct options
   char *ca_directory;          /* CA directory (hash files) */
   char *ca_cert;               /* CA certificate file to use */
 
-
   char *random_file;           /* file with random data to seed the PRNG */
   char *egd_file;              /* file name of the egd daemon socket */
+  bool https_only;             /* whether to follow HTTPS only */
 #endif /* HAVE_SSL */
 
   bool cookies;                        /* whether cookies are used. */