summaryrefslogtreecommitdiff
path: root/apt-private/private-cmndline.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-24 23:07:10 +0100
committerMichael Vogt <mvo@debian.org>2014-01-24 23:07:10 +0100
commit3cfc6336251057cdebe5261addfe61bd89311335 (patch)
tree13e37426176bd1645ca035aa14cc4e463e73d56f /apt-private/private-cmndline.cc
parent48e48cbdc47a0b29ac1b9d2b7d4eef61be73d06d (diff)
parent17622532ce19a1bcebfebdfc9ec20a7e3df9dbff (diff)
Merge remote-tracking branch 'mvo/feature/apt-show-nice' into debian/experimental-no-abi-break
Conflicts: apt-private/private-cmndline.cc
Diffstat (limited to 'apt-private/private-cmndline.cc')
-rw-r--r--apt-private/private-cmndline.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index d6d7bca64..ef7d65f3c 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -230,6 +230,10 @@ bool addArgumentsAPT(std::vector<CommandLine::Args> &Args, char const * const Cm
addArg('v', "verbose", "APT::Cmd::List-Include-Summary", 0);
addArg('a', "all-versions", "APT::Cmd::All-Versions", 0);
}
+ else if (CmdMatches("show"))
+ {
+ addArg('a', "all-versions", "APT::Cache::AllVersions", 0);
+ }
else if (addArgumentsAPTGet(Args, Cmd) || addArgumentsAPTCache(Args, Cmd))
{
// we have no (supported) command-name overlaps so far, so we call