]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
deal with --version more centrally
[apt.git] / cmdline / apt-internal-solver.cc
index f6eaa11f7023a92f0ce6d6453f7a8ff0bed8ae18..ae8c08bba99e6394f691109d6e005f4b1efa1ab6 100644 (file)
 #include <apti18n.h>
                                                                        /*}}}*/
 
-// ShowHelp - Show a help screen                                       /*{{{*/
-bool ShowHelp(CommandLine &, CommandLine::DispatchWithHelp const *) {
-       ioprintf(std::cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH);
-
+bool ShowHelp(CommandLine &, aptDispatchWithHelp const *)              /*{{{*/
+{
        std::cout <<
                _("Usage: apt-internal-solver\n"
                "\n"
@@ -65,7 +63,7 @@ APT_NORETURN static void DIE(std::string const &message) {            /*{{{*/
        exit(EXIT_FAILURE);
 }
                                                                        /*}}}*/
-std::vector<CommandLine::DispatchWithHelp> GetCommands()               /*{{{*/
+std::vector<aptDispatchWithHelp> GetCommands()                         /*{{{*/
 {
    return {};
 }