diff options
-rw-r--r-- | bdep/new.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx index d2a4229..318d4aa 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -426,6 +426,10 @@ namespace bdep : nullptr) : nullptr); + if (source != nullptr && source->absolute ()) + fail << "invalid value '" << *source << "' for option " + << "--type|-t,source: absolute path"; + // Validate vcs options. // vcs vc (o.vcs ()); |