summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authoryuhuan.yang <yuhuan.yang@123.com>2017-07-14 22:34:05 +0800
committeryuhuan.yang <yuhuan.yang@123.com>2017-07-14 22:35:40 +0800
commit37990a24ee9d73b35db5cefa60af9ec6f9fb2338 (patch)
treee13eb774ffc4a1c80e73f598aa074132ccd1ac13 /tools
parente319a7011290ec4a5458f0e8ffcb1482de06805d (diff)
downloadmic-37990a24ee9d73b35db5cefa60af9ec6f9fb2338.tar.gz
mic-37990a24ee9d73b35db5cefa60af9ec6f9fb2338.tar.bz2
mic-37990a24ee9d73b35db5cefa60af9ec6f9fb2338.zip
Add new option of --run_script
Change-Id: I7c2d194ba3bcc4e8fc78073bc922f6e7eb853821
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mic2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mic b/tools/mic
index 7aa8b35..59138fc 100755
--- a/tools/mic
+++ b/tools/mic
@@ -132,6 +132,8 @@ def create_parser(parser):
parent_parser.add_argument('-i', '--interactive', action='store_true',
dest='interactive', default=True,
help='interactive output')
+ parent_parser.add_argument('--run_script', action='store', dest='run_script',
+ default=None, help='Run script on local PC after image created')
parser.set_defaults(alias="cr")