diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-10-26 11:42:32 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 18:04:04 +0100 |
commit | 6079b276a959086ff18302cab752b6d7cfe5ad9f (patch) | |
tree | 151f75397170a05635202a604dd45d1fb9be85ca /cmdline/apt-cdrom.cc | |
parent | 011188e3920f21e6883c2dab956b3d4fb4e8cbfa (diff) |
move apts cmdline helper type into -private
Its not as simple as I initially thought to abstract this enough to make
it globally usable, so lets not pollute global namespace with this for
now.
Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt-cdrom.cc')
-rw-r--r-- | cmdline/apt-cdrom.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc index 397ff2b65..699cc550c 100644 --- a/cmdline/apt-cdrom.cc +++ b/cmdline/apt-cdrom.cc @@ -203,8 +203,7 @@ static bool DoIdent(CommandLine &) return AddOrIdent(false); } /*}}}*/ -// 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); @@ -241,7 +240,7 @@ bool ShowHelp(CommandLine &, CommandLine::DispatchWithHelp const * Cmds) return true; } /*}}}*/ -std::vector<CommandLine::DispatchWithHelp> GetCommands() /*{{{*/ +std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ { return { {"add", &DoAdd, "Add a CDROM"}, |