On Thu, Dec 05, 2013 at 03:13:01PM -0700, Stephen Warren wrote: [...] > diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher [...] > @@ -279,6 +281,8 @@ parser_flash.add_argument('--flash-image', type=str, > help='The flash image to write, instead of U-Boot itself') > parser_flash.add_argument('--gen-only', action='store_true', > help='Just create the work-dir; don\'t actually flash the image') > +parser_flash.add_argument('--env', type=str, nargs=2, action='append', > + help='Set a U-Boot environment variable after flashing') Perhaps this could mention that a key/value pair is expected and that the option can be repeated? Or perhaps Python is clever enough to say so given the nargs=2 and action='append' arguments? Thierry
Attachment:
pgppkqvSD_L0a.pgp
Description: PGP signature