diff --git a/src/pacman/conf.h b/src/pacman/conf.h index d20eac47..4063a314 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -59,6 +59,7 @@ typedef struct __config_t { unsigned short color; unsigned short disable_dl_timeout; unsigned short disable_sandbox; + unsigned short retry_input; char *print_format; /* unfortunately, we have to keep track of paths both here and in the library * because they can come from both the command line or config file, and we diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 4e8d9dd1..3387ea21 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -500,6 +500,9 @@ static int parsearg_global(int opt) case 'v': (config->verbose)++; break; + case OP_RETRYINPUT: + config->retry_input = 1; + break; default: return 1; }