]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-helper.cc
use function pointers instead of weak symbols for cmdline parsing
[apt.git] / cmdline / apt-helper.cc
index 176a67e03a070d6a3e810010abc68e7802c21796..1be122ad0d9144e6d072b0290fc4d9cd80dc776f 100644 (file)
@@ -131,7 +131,7 @@ int main(int argc,const char *argv[])                                       /*{{{*/
    InitLocale();
 
    CommandLine CmdL;
-   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_HELPER, &_config, &_system, argc, argv);
+   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_HELPER, &_config, &_system, argc, argv, &ShowHelp, &GetCommands);
 
    InitOutput();