diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-19 20:20:47 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-20 13:48:26 +0300 |
commit | ddafa0f3475fe532a66879b807b0a8f47ecb201e (patch) | |
tree | 569a72699c810c9157c7ba1a6465d1af839017f1 /bdep/bdep.cxx | |
parent | 03cb180e90129ef3435dc8ad81deff1810a5c5bf (diff) |
Fail if no module specified for being created configuration
Diffstat (limited to 'bdep/bdep.cxx')
-rw-r--r-- | bdep/bdep.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/bdep.cxx b/bdep/bdep.cxx index 9731aaa..3061650 100644 --- a/bdep/bdep.cxx +++ b/bdep/bdep.cxx @@ -530,7 +530,7 @@ try // Temp dir is initialized manually for these commands. // - COMMAND_IMPL (new_, new, "new", false, false); + COMMAND_IMPL (new_, new, "new", true, false); COMMAND_IMPL (sync, sync, "sync", false, false); COMMAND_IMPL (init, init, "init", true, true); @@ -540,7 +540,7 @@ try COMMAND_IMPL (release, release, "release", false, true); COMMAND_IMPL (publish, publish, "publish", false, true); COMMAND_IMPL (deinit, deinit, "deinit", false, true); - COMMAND_IMPL (config, config, "config", false, true); + COMMAND_IMPL (config, config, "config", true, true); COMMAND_IMPL (test, test, "test", false, true); COMMAND_IMPL (update, update, "update", false, true); COMMAND_IMPL (clean, clean, "clean", false, true); |