]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
implement default apt-get file --release-info mode
[apt.git] / apt-private / private-cmndline.cc
index 41aab81f6e0b7a9f34ea3c0e9dc395a8a6532327..11e88b1e7f96c4dd793c40029fb471bcb4a0d9ab 100644 (file)
@@ -163,6 +163,11 @@ static bool addArgumentsAPTGet(std::vector<CommandLine::Args> &Args, char const
       // once sbuild is fixed, this option can be removed
       addArg('f', "fix-broken", "APT::Get::Fix-Broken", 0);
    }
+   else if (CmdMatches("files"))
+   {
+      addArg(0,"format","APT::Get::Files::Format", CommandLine::HasArg);
+      addArg(0,"release-info","APT::Get::Files::ReleaseInfo", 0);
+   }
    else if (CmdMatches("clean", "autoclean", "check", "download", "changelog") ||
            CmdMatches("markauto", "unmarkauto")) // deprecated commands
       ;