From 06293aa79b46efdec96910b2f678ce1cbdecc86d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 23 Jan 2014 07:52:23 +0100 Subject: Show only the candidate with "apt show" Display only the candidate version with "apt show pkg" but show a notice that there is more to see. --- apt-private/private-cmndline.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apt-private/private-cmndline.cc') diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index cbb40d42e..2b6c710d6 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -235,6 +235,10 @@ bool addArgumentsAPT(std::vector &Args, char const * const Cm // FIXME: find a better term addArg(0,"dist","APT::Cmd::Dist-Upgrade", CommandLine::Boolean); } + 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 -- cgit v1.2.3