diff options
-rw-r--r-- | bdep/sync.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx index f3a68ea..a52d309 100644 --- a/bdep/sync.cxx +++ b/bdep/sync.cxx @@ -147,6 +147,9 @@ namespace bdep if (o.upgrade () && o.patch ()) fail << "both --upgrade|-u and --patch|-p specified"; + if (o.immediate () && o.recursive ()) + fail << "both --immediate|-i and --recursive|-r specified"; + // The --immediate or --recursive option can only be specified with // an explicit --upgrade or --patch. // |