aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:31:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-25 15:31:34 +0200
commitc602595c08efae5ff1b05e0b8c7d4ab430f8f033 (patch)
tree1030a5dd5aaf1c8f4d632d26f7e37b7bae9e8ecf /bpkg/cfg-create.cxx
parent837c43c66fd59afea35b97aaa203da935d4bba1a (diff)
Add suggestion to cfg-create to use --wipe
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index df7a1bf..bbb624c 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -38,7 +38,8 @@ namespace bpkg
level5 ([&]{trace << "directory " << c << " not empty";});
if (!o.wipe ())
- fail << "directory " << c << " is not empty";
+ fail << "directory " << c << " is not empty" <<
+ info << "use --wipe to clean it up but be careful";
rm_r (c, false);
}