]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
drop some needlessly public declarations in libapt-private
[apt.git] / cmdline / apt-internal-solver.cc
index 929fd6e2749cf54b637451a7f1ac0cd9102f15c2..90800e1d91d0ec1bc41078b7cf2d5b6e337070c0 100644 (file)
@@ -47,7 +47,8 @@ bool ShowHelp(CommandLine &)                                          /*{{{*/
                _("Usage: apt-internal-solver\n"
                "\n"
                "apt-internal-solver is an interface to use the current internal\n"
-               "like an external resolver for the APT family for debugging or alike.\n");
+               "resolver for the APT family like an external one, for debugging or\n"
+               "the like.\n");
        return true;
 }
                                                                        /*}}}*/
@@ -70,7 +71,7 @@ int main(int argc,const char *argv[])                                 /*{{{*/
        DropPrivileges();
 
        CommandLine CmdL;
-       ParseCommandLine(CmdL, APT_CMD::APT_INTERNAL_SOLVER, &_config, NULL, argc, argv);
+       ParseCommandLine(CmdL, APT_CMD::APT_INTERNAL_SOLVER, &_config, NULL, argc, argv, &ShowHelp, &GetCommands);
 
        if (CmdL.FileList[0] != 0 && strcmp(CmdL.FileList[0], "scenario") == 0)
        {