summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjianzhong.fang <jz.fang@samsung.com>2016-03-17 09:37:52 +0800
committerjianzhong.fang <jz.fang@samsung.com>2016-03-17 09:37:52 +0800
commit7a26cf6a5047da0da73a80c7ee36d36c7252492c (patch)
tree5003629b5fb0e017aad964a84727106ce3b3b6e5
parentda5f7500c0393630d053fd59b30783565f8116b1 (diff)
downloadmic-7a26cf6a5047da0da73a80c7ee36d36c7252492c.tar.gz
mic-7a26cf6a5047da0da73a80c7ee36d36c7252492c.tar.bz2
mic-7a26cf6a5047da0da73a80c7ee36d36c7252492c.zip
Revert "Add lzop compress format"
Change-Id: If63177dbb1ae2a8f1a2fc1cbb849cd51fc1ea957
-rwxr-xr-xtools/mic10
1 files 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:])