aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-01 13:20:20 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-03-01 13:20:35 +0000
commit75e996f29f1855d47299cf29f96507cd78d5aff1 (patch)
tree59276ca1a44c8257d9979ac7060975dfb5f0caf1 /src/tool_cfgable.h
parent5513bbd5c38e5128dd943c28417da29f2c6f9101 (diff)
tool: Moved --progress-bar to the global config
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index efbba0f2f..08da30a24 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -100,7 +100,6 @@ struct OperationConfig {
bool netrc_opt;
bool netrc;
char *netrc_file;
- bool noprogress; /* don't show progress meter, --silent given */
bool isatty; /* updated internally only if output is a tty */
struct getout *url_list; /* point to the first node */
struct getout *url_last; /* point to the last/current node */
@@ -122,7 +121,6 @@ struct OperationConfig {
char *customrequest;
char *krblevel;
long httpversion;
- int progressmode; /* CURL_PROGRESS_BAR or CURL_PROGRESS_STATS */
bool nobuffer;
bool readbusy; /* set when reading input returns EAGAIN */
bool globoff;
@@ -218,6 +216,7 @@ struct GlobalConfig {
0 => -s is used to NOT show errors
1 => -S has been used to show errors */
bool mute; /* don't show messages, --silent given */
+ bool noprogress; /* don't show progress bar --silent given */
FILE *errors; /* Error stream, defaults to stderr */
bool errors_fopened; /* Whether error stream isn't stderr */
char *trace_dump; /* file to dump the network trace to */
@@ -225,6 +224,7 @@ struct GlobalConfig {
bool trace_fopened;
trace tracetype;
bool tracetime; /* include timestamp? */
+ int progressmode; /* CURL_PROGRESS_BAR / CURL_PROGRESS_STATS */
struct OperationConfig *first;
struct OperationConfig *current;