diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-14 16:06:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-14 16:06:18 +0200 |
commit | 61cdde35094fc655eac2e6968b465f217e91d0ac (patch) | |
tree | 876719f9c98b51ca4503d9cc906f82c8e1dd1a70 /bdep/init.cxx | |
parent | a2e7f2beb522d9c7cda01ecfcb552d8e0c46b088 (diff) |
Add --wipe option to configuration creating commands
Diffstat (limited to 'bdep/init.cxx')
-rw-r--r-- | bdep/init.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bdep/init.cxx b/bdep/init.cxx index 9fe4334..1ea55e9 100644 --- a/bdep/init.cxx +++ b/bdep/init.cxx @@ -148,6 +148,9 @@ namespace bdep { if (!ca && !cc) fail << n << " specified without --config-(add|create)"; + + if (o.wipe () && !cc) + fail << "--wipe specified without --config-create"; } project_packages pp ( |