summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-12-04 11:53:05 +0000
committerJulian Andres Klode <jak@debian.org>2018-12-04 11:53:05 +0000
commitb9d405d4074bb1de10e869038fe9685bf660fd16 (patch)
tree515811c1baa6f296f2b5e78fcfeb2ddb6cf38aa7 /cmdline
parentdbf202ff9d20a043855d41f4bea1d954b0cef579 (diff)
parent64d7e1c568a7f9e7f32d1dee1ab771f924baa28d (diff)
Merge branch 'bugfix/spaceinconfig' into 'master'
Use quoted tagnames in config dumps See merge request apt-team/apt!32
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc
index 252a56833..8ad7cac68 100644
--- a/cmdline/apt-config.cc
+++ b/cmdline/apt-config.cc
@@ -67,7 +67,7 @@ static bool DoShell(CommandLine &CmdL)
static bool DoDump(CommandLine &CmdL)
{
bool const empty = _config->FindB("APT::Config::Dump::EmptyValue", true);
- std::string const format = _config->Find("APT::Config::Dump::Format", "%f \"%v\";\n");
+ std::string const format = _config->Find("APT::Config::Dump::Format", "%F \"%v\";\n");
if (CmdL.FileSize() == 1)
_config->Dump(cout, NULL, format.c_str(), empty);
else