mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
uboot_helper: sort usage
This commit is contained in:
parent
5666d4825d
commit
0b3504f791
@ -240,13 +240,13 @@ def usage(PROJECT=None, SOC=None, FILE=sys.stdout):
|
||||
|
||||
print('Projects:', file=FILE)
|
||||
print('', file=FILE)
|
||||
for project in devices:
|
||||
for project in sorted(devices):
|
||||
if PROJECT is None or PROJECT == project:
|
||||
print(' %s:' % project, file=FILE)
|
||||
for soc in devices[project]:
|
||||
for soc in sorted(devices[project]):
|
||||
if SOC is None or SOC == soc:
|
||||
print(' %s:' % soc, file=FILE)
|
||||
for board in devices[project][soc]:
|
||||
for board in sorted(devices[project][soc]):
|
||||
print(' %s' % board, file=FILE)
|
||||
print('', file=FILE)
|
||||
print('', file=FILE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user