From c602595c08efae5ff1b05e0b8c7d4ab430f8f033 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Sep 2015 15:31:34 +0200 Subject: Add suggestion to cfg-create to use --wipe --- bpkg/cfg-create.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/cfg-create.cxx') 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); } -- cgit v1.1