diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-14 11:49:45 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-14 12:38:18 +0200 |
commit | b381a482eab0fc7b65b63cf0512ef1f97d775e34 (patch) | |
tree | 49e759c923d2db55e77b9c9910a1c3d17b9ed303 /apt-private/private-cmndline.cc | |
parent | 51c4e07f4cba0615ff269b5a8d04dfd3d1313b00 (diff) |
Replace --force-yes by various options starting with --allow
This enables more fine grained control over such exceptions.
Diffstat (limited to 'apt-private/private-cmndline.cc')
-rw-r--r-- | apt-private/private-cmndline.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index fa8416824..487349c8c 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -202,6 +202,9 @@ static bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const addArg(0,"ignore-hold","APT::Ignore-Hold",0); addArg(0,"upgrade","APT::Get::upgrade",0); addArg(0,"only-upgrade","APT::Get::Only-Upgrade",0); + addArg(0,"allow-change-held-packages","APT::Get::allow-change-held-packages",CommandLine::Boolean); + addArg(0,"allow-remove-essential","APT::Get::allow-remove-essential",CommandLine::Boolean); + addArg(0,"allow-downgrades","APT::Get::allow-downgrades",CommandLine::Boolean); addArg(0,"force-yes","APT::Get::force-yes",0); addArg(0,"print-uris","APT::Get::Print-URIs",0); addArg(0,"trivial-only","APT::Get::Trivial-Only",0); |