From 0c766b22f8e80ac2ba1a70e421a1a4354a80c73b Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 2 Nov 2012 14:33:20 +0200 Subject: [PATCH] bmap-flasher: change order of arguments bmap-flasher is more intuitive than bmap-flasher . Change-Id: Ida87d73e538b7ec9f9b715d3fecd22e5e725461b Signed-off-by: Artem Bityutskiy --- bmap-flasher | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bmap-flasher b/bmap-flasher index fd39768..9e959fa 100755 --- a/bmap-flasher +++ b/bmap-flasher @@ -40,15 +40,15 @@ def parse_arguments(): parser = argparse.ArgumentParser(description = __doc__, prog = 'bmap-flasher') - # The first command-line argument - block device node - text = "the block device node to flash the image to" - parser.add_argument("bdev", help = text) - - # The second command-line argument - image file + # The first positional argument - image file text = "the image file to flash. Supported formats: uncompressed, " + \ ", ".join(BmapFlasher.supported_image_formats) parser.add_argument("image", help = text) + # The second positional argument - block device node + text = "the block device node to flash the image to" + parser.add_argument("bdev", help = text) + # The --bmap option text = "the block map file for the image" parser.add_argument("--bmap", help = text) -- 2.7.4