aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-05 16:01:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-05 16:01:20 +0000
commit9e8218746d7497e3d9941e53bd5db4d1f0b50dec (patch)
treedaf9b64cb112a2f62db01df20a9b7898a6694146
parent08332bcd420d9accd6928d62504967fbe06b791e (diff)
downloadpaludis-9e8218746d7497e3d9941e53bd5db4d1f0b50dec.tar.gz
paludis-9e8218746d7497e3d9941e53bd5db4d1f0b50dec.tar.xz
Pass --log-level on as part of paludis_command
-rw-r--r--src/paludis.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/paludis.cc b/src/paludis.cc
index 42a06f2..f36d1f5 100644
--- a/src/paludis.cc
+++ b/src/paludis.cc
@@ -83,6 +83,11 @@ main(int argc, char *argv[])
else
p::DefaultConfig::get_instance()->set_paludis_command(std::string(argv[0]));
+ if (CommandLine::get_instance()->a_log_level.specified())
+ p::DefaultConfig::get_instance()->set_paludis_command(
+ p::DefaultConfig::get_instance()->paludis_command() + " --log-level " +
+ CommandLine::get_instance()->a_log_level.argument());
+
if (1 != (CommandLine::get_instance()->a_query.specified() +
CommandLine::get_instance()->a_version.specified() +
CommandLine::get_instance()->a_install.specified() +