aboutsummaryrefslogtreecommitdiff
path: root/bdep/bdep.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-01-24 21:41:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-25 15:16:58 +0300
commit18bb25efa41dab4a3f7619040e2067da3533decd (patch)
tree822bd06dd0a9d5568c14862592d310fec1012b58 /bdep/bdep.cxx
parenta4dabaa6db8806f23bb7d7bdbb95cab456ef3a73 (diff)
Add support for --no-progress option
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 ();