diff --git a/README.md b/README.md
index 20a4727951bc20d798c2b42689cf160ad3eb5f6c..039980439eb17eb91727998c95f8bc5e512e6e54 100644
--- a/README.md
+++ b/README.md
@@ -18,12 +18,13 @@ For more infomation, see: [ARK Runtime Subsystem](https://gitee.com/openharmony/
```
/ark/ts2abc/
├── test262 # scripts for configuration and running Test262
+├── testTs # system test cases
├── ts2panda
- ├── scripts # Dependency scripts
- ├── src # Source code directory
- ├── templates # Ruby templates
- ├── tests # Unit test cases
- ├── tools # Tools provided by ts2abc
+ ├── scripts # dependency scripts
+ ├── src # source code directory
+ ├── templates # ruby templates
+ ├── tests # unit test cases
+ ├── tools # tools provided by ts2abc
└── ts2abc # ts2abc source code
```
@@ -195,9 +196,65 @@ If no parameter is specified for **\[options\]**, an ARK binary file is generat
-
|
+--included-files
+ |
+-i
+ |
+The list of dependent files
+ |
+-
+ |
+-
+ |
+
+--record-type
+ |
+-p
+ |
+Record type info
+ |
+-
+ |
+true
+ |
+
+--dts-type-record
+ |
+-q
+ |
+Record type info for .d.ts files
+ |
+-
+ |
+false
+ |
+
+--debug-type
+ |
+-g
+ |
+Print type-related log
+ |
+-
+ |
+false
+ |
+
+--output-type
+ |
+-
+ |
+Set output type
+ |
+-
+ |
+false
+ |
+
+
For more infomation, please see: [ARK-Runtime-Usage-Guide](https://gitee.com/openharmony/ark_js_runtime/blob/master/docs/ARK-Runtime-Usage-Guide.md).
## Repositories Involved
diff --git a/README_zh.md b/README_zh.md
index aa001701a561caba60ff45a72005ead08ffcd509..aa611664131b3d5b5971f85cc2547c4df86b771c 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -17,7 +17,8 @@ ts2abc组件是方舟运行时子系统的前端工具,支持将JavaScript文
```
/ark/ts2abc/
-├── test262 # Test262测试配置和运行脚本
+├── test262 # test262测试配置和运行脚本
+├── testTs # 系统测试目录
├── ts2panda
├── doc # 文档
├── scripts # 依赖的脚本
@@ -51,6 +52,7 @@ $ node --expose-gc src/index.js [options] file.js
当不输入任何option参数时,默认生成方舟二进制文件。
+
选项
|
缩写
@@ -195,9 +197,65 @@ $ node --expose-gc src/index.js [options] file.js
| -
|
+--included-files
+ |
+-i
+ |
+编译依赖的文件列表
+ |
+-
+ |
+-
+ |
+
+--record-type
+ |
+-p
+ |
+是否记录类型信息
+ |
+-
+ |
+true
+ |
+
+--dts-type-record
+ |
+-q
+ |
+记录.d.ts文件的类型信息
+ |
+-
+ |
+false
+ |
+
+--debug-type
+ |
+-g
+ |
+打印记录的类型信息
+ |
+-
+ |
+false
+ |
+
+--output-type
+ |
+-
+ |
+设置输出类型
+ |
+-
+ |
+false
+ |
+
+
更多使用说明请参考:[方舟运行时使用指南](https://gitee.com/openharmony/ark_js_runtime/blob/master/docs/ARK-Runtime-Usage-Guide-zh.md)
## 相关仓
diff --git a/ts2panda/src/cmdOptions.ts b/ts2panda/src/cmdOptions.ts
index 72bd24cc4f070ddeb5c49ca7e63a01e8ae088255..860845a68353e98f23bdc48435a67ea43da00cfc 100644
--- a/ts2panda/src/cmdOptions.ts
+++ b/ts2panda/src/cmdOptions.ts
@@ -41,7 +41,7 @@ const ts2pandaOptions = [
{ name: 'included-files', alias: 'i', type: String, lazyMultiple: true, defaultValue: [], description: "The list of dependent files." },
{ name: 'record-type', alias: 'p', type: Boolean, defaultValue: false, description: "Record type info. Default: true" },
{ name: 'dts-type-record', alias: 'q', type: Boolean, defaultValue: false, description: "Record type info for .d.ts files. Default: false" },
- { name: 'debug-type', alias: 'g', type: Boolean, defaultValue: false, description: "Record type info for .d.ts files. Default: false" },
+ { name: 'debug-type', alias: 'g', type: Boolean, defaultValue: false, description: "Print type-related log. Default: false" },
{ name: 'output-type', type: Boolean, defaultValue: false, description: "set output type."}
]