aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-29 14:02:18 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commit4c7b3f9500c668aa99328e419f6d09c722814f97 (patch)
treed651e03898965e956dabbff72b184508d458b271 /bpkg/bpkg.cxx
parent7251109c82b16c30410803ef375fe1012445873d (diff)
Improve pkg-checkout progress diagnostics at verbosity level 1
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r--bpkg/bpkg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index ece9046..c82c92d 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -47,6 +47,7 @@
#include <bpkg/rep-remove.hxx>
using namespace std;
+using namespace butl;
using namespace bpkg;
// Get -d|--directory value if the option class O has it and empty path
@@ -139,6 +140,7 @@ try
{
using namespace cli;
+ stderr_term = fdterm (stderr_fd ());
exec_dir = path (argv[0]).directory ();
// This is a little hack to make our baseutils for Windows work when called