summaryrefslogtreecommitdiff
path: root/apt-private/private-cmndline.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private/private-cmndline.h')
-rw-r--r--apt-private/private-cmndline.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apt-private/private-cmndline.h b/apt-private/private-cmndline.h
index 6a6885a33..819eb77cc 100644
--- a/apt-private/private-cmndline.h
+++ b/apt-private/private-cmndline.h
@@ -23,6 +23,7 @@ enum class APT_CMD {
APT_SORTPKG,
};
+bool ShowHelp(CommandLine &CmdL);
struct aptDispatchWithHelp
{
const char *Match;
@@ -30,9 +31,7 @@ struct aptDispatchWithHelp
const char *Help;
};
std::vector<aptDispatchWithHelp> GetCommands();
-bool ShowHelp(CommandLine &CmdL, aptDispatchWithHelp const * Cmds);
-APT_PUBLIC void ShowHelpListCommands(aptDispatchWithHelp const * Cmds);
APT_PUBLIC std::vector<CommandLine::Dispatch> ParseCommandLine(CommandLine &CmdL, APT_CMD const Binary,
Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char * argv[]);
APT_PUBLIC unsigned short DispatchCommandLine(CommandLine &CmdL, std::vector<CommandLine::Dispatch> const &Cmds);