mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 05:35:02 +08:00
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:
@@ -98,9 +98,9 @@ class BootloaderImage(object):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser('RPI EEPROM config tool')
|
parser = argparse.ArgumentParser('RPI EEPROM config tool')
|
||||||
parser.add_argument('--config', help='Filename of new bootloader config')
|
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='Filename for the EEPROM image with updated 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='EEPROM filename (pieeprom.bin)')
|
parser.add_argument('eeprom', help='Name of EEPROM image file (e.g. pieeprom.bin)')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
image = BootloaderImage(args.eeprom, args.out)
|
image = BootloaderImage(args.eeprom, args.out)
|
||||||
|
|||||||
Reference in New Issue
Block a user