From b61f1f073ad90edd1f502192f56087fe825de222 Mon Sep 17 00:00:00 2001 From: "jianzhong.fang" Date: Wed, 4 Nov 2015 14:01:03 +0800 Subject: Update the mic doc Change-Id: Id17882b91640f5390198c17bbf3bc2fdb8699668 --- tools/mic | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/mic b/tools/mic index 7785bec..3b5b741 100755 --- a/tools/mic +++ b/tools/mic @@ -126,12 +126,13 @@ def create_parser(parser): parser.set_defaults(alias="cr") subparsers = parser.add_subparsers(title='Subcommands', dest='subcommand') + auto_parser = subparsers.add_parser('auto', parents=[parent_parser], help='auto detect image type from magic header') + fs_parser = subparsers.add_parser('fs', parents=[parent_parser], - help='auto detect image type from magic header') + help='create fs image') fs_parser.add_argument("--include-src", dest = "include_src",action = "store_true", default = False, help = "Generate a image with source rpms included") - auto_parser = subparsers.add_parser('auto', parents=[parent_parser], help='create fs image') loop_parser = subparsers.add_parser('loop', parents=[parent_parser], help='create loop image') loop_parser.add_argument("--compress-disk-image", dest="compress_image", -- cgit v1.2.3