From 7d05ffceaf9161a6572505d25b5017e1eb33bf0e Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 29 May 2018 13:57:13 +1000 Subject: Remove the last traces of the pacman --force option Signed-off-by: Allan McRae --- src/pacman/pacman.c | 5 ----- src/pacman/sync.c | 3 --- 2 files changed, 8 deletions(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index e0178da8..a2a420b6 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -716,11 +716,6 @@ static int parsearg_upgrade(int opt) return 0; } switch(opt) { - case OP_FORCE: - pm_printf(ALPM_LOG_WARNING, - _("option --force is deprecated; use --overwrite instead\n")); - config->flags |= ALPM_TRANS_FLAG_FORCE; - break; case OP_OVERWRITE_FILES: parsearg_util_addlist(&(config->overwrite_files)); break; diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 3c6be89d..ef8faedf 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -813,9 +813,6 @@ int sync_prepare_execute(void) alpm_strerror(err)); switch(err) { case ALPM_ERR_FILE_CONFLICTS: - if(config->flags & ALPM_TRANS_FLAG_FORCE) { - printf(_("unable to %s directory-file conflicts\n"), "--force"); - } for(i = data; i; i = alpm_list_next(i)) { alpm_fileconflict_t *conflict = i->data; switch(conflict->type) { -- cgit v1.2.3-24-g4f1b