summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorNicolas Schier <nicolas@fjasle.eu>2020-02-27 05:04:54 +0100
committerNicolas Schier <nicolas@fjasle.eu>2020-06-08 12:18:33 +0200
commitc19a3276fe7ecfc132e95b0277e9e68ff364dd92 (patch)
treeeb4b99eaa2790626969cc7623fda9e7acdbf6c14 /apt-private
parent83b239c7285ac7450e305643b29596396abc0b3f (diff)
Support marking all newly installed packages as automatically installed
Add option '--mark-auto' to 'apt install' that marks all newly installed packages as automatically installed. Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cmndline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 478cb95f1..bcafe785b 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -276,6 +276,7 @@ static bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const
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);
+ addArg(0,"mark-auto","APT::Get::Mark-Auto",0);
addArg(0,"remove","APT::Get::Remove",0);
addArg(0,"only-source","APT::Get::Only-Source",0);
addArg(0,"allow-unauthenticated","APT::Get::AllowUnauthenticated",0);