]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
add apt upgrade --dist
[apt.git] / apt-private / private-cmndline.cc
index d6d7bca64be8ebedc56effc33e850d4e3ab0e46c..cbb40d42e7281d48111e4fc0d7ec440868e38a4b 100644 (file)
@@ -230,6 +230,11 @@ 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("upgrade"))
+   {
+      // FIXME: find a better term
+      addArg(0,"dist","APT::Cmd::Dist-Upgrade", CommandLine::Boolean);
+   }
    else if (addArgumentsAPTGet(Args, Cmd) || addArgumentsAPTCache(Args, Cmd))
    {
        // we have no (supported) command-name overlaps so far, so we call