rpi-eeprom-config - fix up help text (and therefore also man page)

The current help text for rpi-eeprom-config are unclear. This PR changes them so that the help text matches what the tool does and what each parameter specifies. The man page, automatically derived from the help text, is also fixed.
This commit is contained in:
andrum99
2019-11-21 18:19:53 +00:00
committed by GitHub
parent 82b6b1c324
commit 179d7d7558

View File

@@ -98,9 +98,9 @@ class BootloaderImage(object):
def main():
parser = argparse.ArgumentParser('RPI EEPROM config tool')
parser.add_argument('--config', help='Filename of new bootloader config')
parser.add_argument('--out', help='Filename for the EEPROM image with updated config')
parser.add_argument('eeprom', help='EEPROM filename (pieeprom.bin)')
parser.add_argument('--config', help='Insert new bootloader config into EEPROM image. CONFIG specifies the file containing the new config.')
parser.add_argument('--out', help='Extract current bootloader config from EEPROM image. OUT specifies the file to put the config into.')
parser.add_argument('eeprom', help='Name of EEPROM image file (e.g. pieeprom.bin)')
args = parser.parse_args()
image = BootloaderImage(args.eeprom, args.out)