]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
move isatty() check into InitOutput()
[apt.git] / apt-private / private-cmndline.cc
index d6d7bca64be8ebedc56effc33e850d4e3ab0e46c..ef7d65f3c59de7fec88efe2943fa94ccd873e417 100644 (file)
@@ -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