Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/conf.c2
-rw-r--r--src/pacman/pacman-conf.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 76c93aca..becbd03e 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -583,6 +583,8 @@ static int _parse_options(const char *key, char *value,
config->color = isatty(fileno(stdout)) ? PM_COLOR_ON : PM_COLOR_OFF;
enable_colors(config->color);
}
+ } else if(strcmp(key, "NoProgressBar") == 0) {
+ config->noprogressbar = 1;
} else if(strcmp(key, "DisableDownloadTimeout") == 0) {
config->disable_dl_timeout = 1;
} else {
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
index de317260..60739bf6 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -259,6 +259,7 @@ static void dump_config(void)
show_bool("VerbosePkgLists", config->verbosepkglists);
show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
show_bool("ILoveCandy", config->chomp);
+ show_bool("NoProgressBar", config->noprogressbar);
show_cleanmethod("CleanMethod", config->cleanmethod);
@@ -368,6 +369,8 @@ static int list_directives(void)
show_bool("VerbosePkgLists", config->verbosepkglists);
} else if(strcasecmp(i->data, "DisableDownloadTimeout") == 0) {
show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
+ } else if(strcasecmp(i->data, "NoProgressBar") == 0) {
+ show_bool("NoProgressBar", config->noprogressbar);
} else if(strcasecmp(i->data, "CleanMethod") == 0) {
show_cleanmethod("CleanMethod", config->cleanmethod);