summaryrefslogtreecommitdiff
path: root/cmdline/apt-internal-solver.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-10-26 11:42:32 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:04 +0100
commit6079b276a959086ff18302cab752b6d7cfe5ad9f (patch)
tree151f75397170a05635202a604dd45d1fb9be85ca /cmdline/apt-internal-solver.cc
parent011188e3920f21e6883c2dab956b3d4fb4e8cbfa (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-internal-solver.cc')
-rw-r--r--cmdline/apt-internal-solver.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-internal-solver.cc b/cmdline/apt-internal-solver.cc
index f6eaa11f7..28989f6cd 100644
--- a/cmdline/apt-internal-solver.cc
+++ b/cmdline/apt-internal-solver.cc
@@ -41,8 +41,8 @@
#include <apti18n.h>
/*}}}*/
-// ShowHelp - Show a help screen /*{{{*/
-bool ShowHelp(CommandLine &, CommandLine::DispatchWithHelp const *) {
+bool ShowHelp(CommandLine &, aptDispatchWithHelp const *) /*{{{*/
+{
ioprintf(std::cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH);
std::cout <<
@@ -65,7 +65,7 @@ APT_NORETURN static void DIE(std::string const &message) { /*{{{*/
exit(EXIT_FAILURE);
}
/*}}}*/
-std::vector<CommandLine::DispatchWithHelp> GetCommands() /*{{{*/
+std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/
{
return {};
}