diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -277,6 +277,18 @@ class Command(object): | |||
277 | def GetProjects(self, args, manifest=None, groups='', missing_ok=False, | 277 | def GetProjects(self, args, manifest=None, groups='', missing_ok=False, |
278 | submodules_ok=False, all_manifests=False): | 278 | submodules_ok=False, all_manifests=False): |
279 | """A list of projects that match the arguments. | 279 | """A list of projects that match the arguments. |
280 | |||
281 | Args: | ||
282 | args: a list of (case-insensitive) strings, projects to search for. | ||
283 | manifest: an XmlManifest, the manifest to use, or None for default. | ||
284 | groups: a string, the manifest groups in use. | ||
285 | missing_ok: a boolean, whether to allow missing projects. | ||
286 | submodules_ok: a boolean, whether to allow submodules. | ||
287 | all_manifests: a boolean, if True then all manifests and submanifests are | ||
288 | used. If False, then only the local (sub)manifest is used. | ||
289 | |||
290 | Returns: | ||
291 | A list of matching Project instances. | ||
280 | """ | 292 | """ |
281 | if all_manifests: | 293 | if all_manifests: |
282 | if not manifest: | 294 | if not manifest: |