aboutsummaryrefslogtreecommitdiff
path: root/bdep/bdep.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/bdep.cxx')
-rw-r--r--bdep/bdep.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bdep/bdep.cxx b/bdep/bdep.cxx
index 6e17a3f..00d70f7 100644
--- a/bdep/bdep.cxx
+++ b/bdep/bdep.cxx
@@ -36,6 +36,7 @@
#include <bdep/clean.hxx>
using namespace std;
+using namespace butl;
using namespace bdep;
namespace bdep
@@ -157,6 +158,8 @@ try
{
using namespace cli;
+ stderr_term = fdterm (stderr_fd ());
+
argv0 = argv[0];
exec_dir = path (argv0).directory ();