--list option displays available seedprograms to aid with erase-install

This commit is contained in:
G Pugh 2019-04-16 22:26:33 +02:00
parent 68065b8004
commit 1bfd0c71b7

View File

@ -691,6 +691,9 @@ def main():
# Output a plist of available updates and quit if list option chosen # Output a plist of available updates and quit if list option chosen
if args.list: if args.list:
plistlib.writePlist(pl, output_plist) plistlib.writePlist(pl, output_plist)
print ('\n'
'Valid seeding programs are: %s'
% ', '.join(get_seeding_programs()))
exit(0) exit(0)
# check for validity of specified build if argument supplied # check for validity of specified build if argument supplied