summaryrefslogtreecommitdiff
path: root/apt-private/private-cmndline.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-28 13:53:09 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-28 18:12:02 +0200
commit570ec96dbf4f720d8eff694f8c4429e0b0a033b4 (patch)
tree8e9ed5f6ba9e09c97a3a74ad855fa6c27d0d1057 /apt-private/private-cmndline.cc
parent8b79c94af7f7cf2e5e5342294bc6e5a908cacabf (diff)
look into the right textdomain for apt-utils again
Broken in e7e10e47476606e3b2274cf66b1e8ea74b236757 by looking always into "apt" while we ship some tools in "apt-utils"…
Diffstat (limited to 'apt-private/private-cmndline.cc')
-rw-r--r--apt-private/private-cmndline.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
index 829085916..7e50b1401 100644
--- a/apt-private/private-cmndline.cc
+++ b/apt-private/private-cmndline.cc
@@ -10,6 +10,7 @@
#include <apt-pkg/strutl.h>
#include <apt-private/private-cmndline.h>
+#include <apt-private/private-main.h>
#include <stdarg.h>
#include <string.h>
@@ -451,6 +452,7 @@ std::vector<CommandLine::Dispatch> ParseCommandLine(CommandLine &CmdL, APT_CMD c
Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char *argv[],
bool (*ShowHelp)(CommandLine &), std::vector<aptDispatchWithHelp> (*GetCommands)(void))
{
+ InitLocale(Binary);
if (Cnf != NULL && pkgInitConfig(**Cnf) == false)
{
_error->DumpErrors();