From 7a26cf6a5047da0da73a80c7ee36d36c7252492c Mon Sep 17 00:00:00 2001 From: "jianzhong.fang" Date: Thu, 17 Mar 2016 09:37:52 +0800 Subject: [PATCH] Revert "Add lzop compress format" Change-Id: If63177dbb1ae2a8f1a2fc1cbb849cd51fc1ea957 --- tools/mic | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/mic b/tools/mic index 3b5b741..cb527f8 100755 --- a/tools/mic +++ b/tools/mic @@ -136,14 +136,12 @@ def create_parser(parser): loop_parser = subparsers.add_parser('loop', parents=[parent_parser], help='create loop image') loop_parser.add_argument("--compress-disk-image", dest="compress_image", - choices=("gz", "bz2", "lzo"), default=None, + choices=("gz", "bz2"), default=None, help="Same with --compress-image") # alias to compress-image for compatibility loop_parser.add_argument("--compress-image", dest="compress_image", - choices=("gz", "bz2", "lzo"), default=None, - help="Compress all loop images with 'gz' or 'bz2' or 'lzo'," - "Note: if you want to use 'lzo', package 'lzop' is needed to" - "be installed manually.") + choices=("gz", "bz2"), default=None, + help="Compress all loop images with 'gz' or 'bz2'") loop_parser.add_argument("--shrink", action='store_true', default=False, help="Whether to shrink loop images to minimal size") @@ -227,7 +225,7 @@ def main(argv): if not has_parameter(argv[i], global_args) and arg in aliases: argv[i+1] = aliases[arg] break - + # Parse arguments args = parser.parse_args(argv[1:]) -- 2.7.4