summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjianzhong.fang <jz.fang@samsung.com>2015-11-04 14:01:03 +0800
committeryyh <yyh@123.com>2016-02-04 14:47:06 +0800
commitb61f1f073ad90edd1f502192f56087fe825de222 (patch)
treedff8d6f22ef5b2b06a68064bab86ff7fc8543c3d /tools
parenta5878ae2f3aa82d6b9cc59d7434c2f80e28f7471 (diff)
downloadmic-b61f1f073ad90edd1f502192f56087fe825de222.tar.gz
mic-b61f1f073ad90edd1f502192f56087fe825de222.tar.bz2
mic-b61f1f073ad90edd1f502192f56087fe825de222.zip
Update the mic doc
Change-Id: Id17882b91640f5390198c17bbf3bc2fdb8699668
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mic5
1 files changed, 3 insertions, 2 deletions
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",