aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildman/control.py')
-rw-r--r--tools/buildman/control.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/buildman/control.py b/tools/buildman/control.py
index 464835c5be5..d3d027f02ab 100644
--- a/tools/buildman/control.py
+++ b/tools/buildman/control.py
@@ -124,7 +124,8 @@ def show_actions(series, why_selected, boards_selected, output_dir,
print(commit.subject)
print()
for arg in why_selected:
- if arg != 'all':
+ # When -x is used, only the 'all' member exists
+ if arg != 'all' or len(why_selected) == 1:
print(arg, f': {len(why_selected[arg])} boards')
if verbose:
print(f" {' '.join(why_selected[arg])}")