summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2015-05-28 04:36:10 -0400
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 18:30:45 +0000
commit13b08883e36645ae4563d8a6980056a506d74cc1 (patch)
tree64759d599b92f40880e0238883ddfc26979e5db2 /scripts
parenta52a5b0604b817fc27fc117c699ebf5a3648d9fe (diff)
downloadchromite-13b08883e36645ae4563d8a6980056a506d74cc1.tar.gz
cbuildbot: make --all option clearer in --list
Add a note to the list output (like we have in the --help) that the default --list is abbreviated and you need to use --all to see all. BUG=chromium:492760 TEST=`cbuildbot -l` includes notice Change-Id: Ie1ddaa50dc03673a6342c8649126dba17a341efa Reviewed-on: https://chromium-review.googlesource.com/274940 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cbuildbot.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/cbuildbot.py b/scripts/cbuildbot.py
index 47f201b6e..cd823b5ad 100644
--- a/scripts/cbuildbot.py
+++ b/scripts/cbuildbot.py
@@ -70,7 +70,8 @@ def _PrintValidConfigs(site_config, display_all=False):
config_name)
COLUMN_WIDTH = 45
- print()
+ if not display_all:
+ print('Note: This is the common list; for all configs, use --all.')
print('config'.ljust(COLUMN_WIDTH), 'description')
print('------'.ljust(COLUMN_WIDTH), '-----------')
config_names = site_config.keys()
@@ -81,8 +82,6 @@ def _PrintValidConfigs(site_config, display_all=False):
desc = desc if desc else ''
print(name.ljust(COLUMN_WIDTH), desc)
- print()
-
def _ConfirmBuildRoot(buildroot):
"""Confirm with user the inferred buildroot, and mark it as confirmed."""