diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-25 15:31:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-25 15:31:34 +0200 |
commit | c602595c08efae5ff1b05e0b8c7d4ab430f8f033 (patch) | |
tree | 1030a5dd5aaf1c8f4d632d26f7e37b7bae9e8ecf | |
parent | 837c43c66fd59afea35b97aaa203da935d4bba1a (diff) |
Add suggestion to cfg-create to use --wipe
-rw-r--r-- | bpkg/cfg-create.cxx | 3 |
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); } |