X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/90986d4dbbd38e2e89f986d621e301304210452e..ae2a6be8a2155c136f9535abfbcc750c8c395cd2:/cmdline/apt-config.cc diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc index b86a0fd97..6953a8172 100644 --- a/cmdline/apt-config.cc +++ b/cmdline/apt-config.cc @@ -76,7 +76,7 @@ static bool DoDump(CommandLine &CmdL) return true; } /*}}}*/ -bool ShowHelp(CommandLine &) /*{{{*/ +static bool ShowHelp(CommandLine &) /*{{{*/ { std::cout << _("Usage: apt-config [options] command\n" @@ -86,7 +86,7 @@ bool ShowHelp(CommandLine &) /*{{{*/ return true; } /*}}}*/ -std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ +static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ { return { {"shell", &DoShell, _("get configuration values via shell evaluation")}, @@ -97,8 +97,6 @@ std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/ /*}}}*/ int main(int argc,const char *argv[]) /*{{{*/ { - InitLocale(); - // Parse the command line and initialize the package library CommandLine CmdL; auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_CONFIG, &_config, &_system, argc, argv, &ShowHelp, &GetCommands);