]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
deal with spaces in path, command and filepaths in apt-key
[apt.git] / cmdline / apt-internal-solver.cc
index 4fabeb02fc683f5a3d70d1c477dc8b3f5f041c91..258b42ccb73f7b9d5efe4d7526a3f64b4f793ce2 100644 (file)
@@ -44,8 +44,7 @@
 // ---------------------------------------------------------------------
 /* */
 static bool ShowHelp(CommandLine &) {
-       ioprintf(std::cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,PACKAGE_VERSION,
-                COMMON_ARCH,__DATE__,__TIME__);
+       ioprintf(std::cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH);
 
        std::cout <<
                _("Usage: apt-internal-solver\n"
@@ -110,8 +109,9 @@ int main(int argc,const char *argv[])                                       /*{{{*/
        if (_config->FindI("quiet", 0) < 1)
                _config->Set("Debug::EDSP::WriteSolution", true);
 
+       _config->Set("APT::System", "Debian APT solver interface");
        _config->Set("APT::Solver", "internal");
-       _config->Set("edsp::scenario", "stdin");
+       _config->Set("edsp::scenario", "/nonexistent/stdin");
        int input = STDIN_FILENO;
        FILE* output = stdout;
        SetNonBlock(input, false);