diff options
Diffstat (limited to 'cmdline/apt-config.cc')
-rw-r--r-- | cmdline/apt-config.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index 9d80e4ebf..47e37c2f7 100644 --- a/cmdline/apt-config.cc +++ b/cmdline/apt-config.cc @@ -76,8 +76,7 @@ static bool DoDump(CommandLine &CmdL) return true; } /*}}}*/ -// ShowHelp - Show the help screen /*{{{*/ -bool ShowHelp(CommandLine &, CommandLine::DispatchWithHelp const * Cmds) +bool ShowHelp(CommandLine &, aptDispatchWithHelp const * Cmds) /*{{{*/ { ioprintf(cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH); if (_config->FindB("version") == true) @@ -104,7 +103,7 @@ bool ShowHelp(CommandLine &, CommandLine::DispatchWithHelp const * Cmds) return true; } /*}}}*/ -std::vector<CommandLine::DispatchWithHelp> GetCommands() /*{{{*/ +std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ { return { {"shell", &DoShell, _("get configuration values via shell evaluation")}, |