aboutsummaryrefslogtreecommitdiff
path: root/src/clients/reconcilio/reconcilio.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/reconcilio/reconcilio.cc')
-rw-r--r--src/clients/reconcilio/reconcilio.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/clients/reconcilio/reconcilio.cc b/src/clients/reconcilio/reconcilio.cc
index 1a9e84ceb..109ca3e15 100644
--- a/src/clients/reconcilio/reconcilio.cc
+++ b/src/clients/reconcilio/reconcilio.cc
@@ -21,6 +21,7 @@
#include "command_line.hh"
#include "fix_linkage.hh"
+#include <paludis/util/system.hh>
#include <paludis/util/join.hh>
#include <paludis/util/log.hh>
@@ -53,7 +54,12 @@ namespace
int
main(int argc, char *argv[])
{
- Context ctx("In program " + join(argv, argv + argc, " ") + ":");
+ std::string options(paludis::getenv_with_default("RECONCILIO_OPTIONS", ""));
+ if (! options.empty())
+ options = "(" + options + ") ";
+ options += join(argv + 1, argv + argc, " ");
+
+ Context context(std::string("In program ") + argv[0] + " " + options + ":");
try
{