]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cdrom.cc
use function pointers instead of weak symbols for cmdline parsing
[apt.git] / cmdline / apt-cdrom.cc
index 4a24f198c3f52316b7dd5fa3a1fe4abac91de671..d8a2d84cf3bc37b51384c4de0de0b32421e19515 100644 (file)
@@ -229,7 +229,7 @@ int main(int argc,const char *argv[])                                       /*{{{*/
 
    // Parse the command line and initialize the package library
    CommandLine CmdL;
-   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_CDROM, &_config, &_system, argc, argv);
+   auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_CDROM, &_config, &_system, argc, argv, &ShowHelp, &GetCommands);
 
    InitOutput();