]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* doc/external-dependency-solver-protocol.txt:
[apt.git] / cmdline / apt-get.cc
index 845c92026b66602e3f9799e0b634451d23f823f8..fdb1033a159d4c2e0a0a42fd108c28d3438827b9 100644 (file)
@@ -1887,7 +1887,7 @@ bool DoInstall(CommandLine &CmdL)
         // Call the scored problem resolver
         Fix->InstallProtect();
         if (Fix->Resolve(true) == false)
-           _error->Discard();
+           ; //FIXME: is there a valid reason for?  _error->Discard();
         delete Fix;
       }
 
@@ -3270,6 +3270,7 @@ int main(int argc,const char *argv[])                                     /*{{{*/
       {0,"install-recommends","APT::Install-Recommends",CommandLine::Boolean},
       {0,"install-suggests","APT::Install-Suggests",CommandLine::Boolean},
       {0,"fix-policy","APT::Get::Fix-Policy-Broken",0},
+      {0,"solver","APT::Solver::Name",CommandLine::HasArg},
       {'c',"config-file",0,CommandLine::ConfigFile},
       {'o',"option",0,CommandLine::ArbItem},
       {0,0,0,0}};