From: Artem Bityutskiy Date: Wed, 31 Oct 2012 13:45:01 +0000 (+0200) Subject: bmap-flasher: clean-up help text X-Git-Tag: v1.0~171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d06202f6f8a1c7129b2670da8bf2f8974ea764b;p=tools%2Fbmap-tools.git bmap-flasher: clean-up help text argparse starts help text with a small letter and does not put the dot at the end (see -h and --version). Do the same for all the other options for consistency. Change-Id: Id4e39481e27690e47662181f1901abb6aebcf4d3 Signed-off-by: Artem Bityutskiy --- diff --git a/bmap-flasher b/bmap-flasher index a38cca2..85dc310 100755 --- a/bmap-flasher +++ b/bmap-flasher @@ -41,30 +41,30 @@ def parse_arguments(): prog = 'bmap-flasher') # The first command-line argument - block device node - text = "The block device node to flash the image to." + text = "the block device node to flash the image to" parser.add_argument("bdev", help = text) # The second command-line argument - image file - text = "The image file to flash. Supported formats: uncompressed, " + \ + text = "the image file to flash. Supported formats: uncompressed, " + \ ", ".join(BmapFlasher.supported_image_formats) parser.add_argument("image", help = text) # The --bmap option - text = "The block map file for the image." + text = "the block map file for the image" parser.add_argument("--bmap", help = text) # The --no-verify option - text = "Do not verify the data checksum while writing." + text = "do not verify the data checksum while writing" parser.add_argument("--no-verify", action="store_true", help = text) # The --no-sync option - text = "Do not synchronize the block device after flashing (use " \ + text = "do not synchronize the block device after flashing (use " \ "carefully and make sure you synchronize the block device " \ - "manually before you unplug it). " + "manually before you unplug it)" parser.add_argument("--no-sync", action="store_true", help = text) # The --quiet option - text = "Be quiet" + text = "be quiet" parser.add_argument("-q", "--quiet", action="store_true", help = text) # The --version option