diff options
author | Milo Casagrande <milo@ubuntu.com> | 2012-07-25 13:36:00 +0200 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2012-07-25 13:36:00 +0200 |
commit | 3e0d02a1230ee8e0cc59d599e65ab078326f9781 (patch) | |
tree | 821b98b93c8f811253962d388f0f7e4ea66a8933 /linaro_image_tools/media_create/__init__.py | |
parent | 4f5709860d236213c6c6ddd80b7c3548c138d890 (diff) |
Added option check.
Diffstat (limited to 'linaro_image_tools/media_create/__init__.py')
-rw-r--r-- | linaro_image_tools/media_create/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linaro_image_tools/media_create/__init__.py b/linaro_image_tools/media_create/__init__.py index 3d5e221..ead1b03 100644 --- a/linaro_image_tools/media_create/__init__.py +++ b/linaro_image_tools/media_create/__init__.py @@ -92,12 +92,11 @@ def get_args_parser(): '--output-directory', dest='directory', help='Directory where image and accessories should be written to.') parser.add_argument( - '--read-hwpack', dest='readhwpack', required=False, - action='store_true', + '--read-hwpack', dest='readhwpack', action='store_true', help=('Read the hardware pack and print information about the ' 'supported boards and bootloaders.')) parser.add_argument( - '--dev', required=False, dest='board', choices=KNOWN_BOARDS, + '--dev', dest='board', choices=KNOWN_BOARDS, help='Generate an SD card or image for the given board.') parser.add_argument( '--rootfs', default='ext4', choices=['ext2', 'ext3', 'ext4', 'btrfs'], |