]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.cc
apt-helper: cat-file: Add -C/--compress option
[apt.git] / apt-private / private-cmndline.cc
index 9234aa27805042bf01ff43b3eb84c1bee9915a13..82908591651f3b02a11f0978c69201500181b768 100644 (file)
@@ -156,8 +156,12 @@ static bool addArgumentsAPTInternalSolver(std::vector<CommandLine::Args> &, char
    return true;
 }
                                                                        /*}}}*/
-static bool addArgumentsAPTHelper(std::vector<CommandLine::Args> &, char const * const)/*{{{*/
+static bool addArgumentsAPTHelper(std::vector<CommandLine::Args> &Args, char const * const Cmd)/*{{{*/
 {
+   if (CmdMatches("cat-file"))
+   {
+      addArg('C', "compress", "Apt-Helper::Cat-File::Compress",CommandLine::HasArg);
+   }
    return true;
 }
                                                                        /*}}}*/