summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/init.py')
-rw-r--r--subcmds/init.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index 99f30dce..0388f5d1 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -260,6 +260,9 @@ to update the working directory files.
260 if opt.use_superproject is not None: 260 if opt.use_superproject is not None:
261 self.OptionParser.error('--mirror and --use-superproject cannot be ' 261 self.OptionParser.error('--mirror and --use-superproject cannot be '
262 'used together.') 262 'used together.')
263 if opt.archive and opt.use_superproject is not None:
264 self.OptionParser.error('--archive and --use-superproject cannot be used '
265 'together.')
263 266
264 if opt.standalone_manifest and (opt.manifest_branch or 267 if opt.standalone_manifest and (opt.manifest_branch or
265 opt.manifest_name != 'default.xml'): 268 opt.manifest_name != 'default.xml'):