summaryrefslogtreecommitdiffstats
path: root/subcmds/prune.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/prune.py')
-rw-r--r--subcmds/prune.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/prune.py b/subcmds/prune.py
index 584ee7ed..251accaa 100644
--- a/subcmds/prune.py
+++ b/subcmds/prune.py
@@ -31,7 +31,7 @@ class Prune(PagedCommand):
31 return project.PruneHeads() 31 return project.PruneHeads()
32 32
33 def Execute(self, opt, args): 33 def Execute(self, opt, args):
34 projects = self.GetProjects(args) 34 projects = self.GetProjects(args, all_manifests=not opt.this_manifest_only)
35 35
36 # NB: Should be able to refactor this module to display summary as results 36 # NB: Should be able to refactor this module to display summary as results
37 # come back from children. 37 # come back from children.
@@ -63,7 +63,7 @@ class Prune(PagedCommand):
63 if project != branch.project: 63 if project != branch.project:
64 project = branch.project 64 project = branch.project
65 out.nl() 65 out.nl()
66 out.project('project %s/' % project.relpath) 66 out.project('project %s/' % project.RelPath(local=opt.this_manifest_only))
67 out.nl() 67 out.nl()
68 68
69 print('%s %-33s ' % ( 69 print('%s %-33s ' % (