- CommandLine::Dispatch Cmds[] = {{"help",&ShowHelp},
- {"download-file", &DoDownloadFile},
- {"srv-lookup", &DoSrvLookup},
- {"auto-detect-proxy", &DoAutoDetectProxy},
- {0,0}};
-
- std::vector<CommandLine::Args> Args = getCommandArgs(
- "apt-download", CommandLine::GetCommand(Cmds, argc, argv));