]> sjero.net Git - wget/blobdiff - src/options.h
Add --show-progress to force display progress bar
[wget] / src / options.h
index e00fadc784a537f0c287505a1873cf64b883c8b5..563207f5989564eda88a3510019a945bdd3f546b 100644 (file)
@@ -116,6 +116,7 @@ struct options
   bool ask_passwd;              /* Ask for password? */
 
   bool always_rest;            /* Always use REST. */
+  wgint start_pos;             /* Start position of a download. */
   char *ftp_user;              /* FTP username */
   char *ftp_passwd;            /* FTP password */
   bool netrc;                  /* Whether to read .netrc. */
@@ -133,6 +134,7 @@ struct options
   char **no_proxy;
   char *base_href;
   char *progress_type;         /* progress indicator type. */
+  bool show_progress;        /* Show only the progress bar */
   char *proxy_user; /*oli*/
   char *proxy_passwd;
 
@@ -156,9 +158,7 @@ struct options
   bool content_on_error;       /* Do we output the content when the HTTP
                                   status code indicates a server error */
 
-#ifdef ENABLE_DEBUG
   bool debug;                  /* Debugging on/off */
-#endif
 
 #ifdef USE_WATT32
   bool wdebug;                  /* Watt-32 tcp/ip debugging on/off */