From 1c13ae4ed5d84b32c2c1a0698f9e688c312de989 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Jan 2016 15:14:32 +0200 Subject: Documentation improvements --- bpkg/cfg-create.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 624edb2..62b39d8 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -23,6 +23,9 @@ namespace bpkg { tracer trace ("cfg_create"); + if (o.wipe () && !o.directory_specified ()) + fail << "--wipe requires explicit --directory|-d"; + dir_path c (o.directory ()); level4 ([&]{trace << "creating configuration in " << c;}); -- cgit v1.1