Skip to content

Commit d06443f

Browse files
committed
Update README.md
1 parent a91084c commit d06443f

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,31 @@ chmod +x ecs
2222
## How to use
2323
`ecs` command is a compiler that will translate ECS to CovScript 3, but can use like an 'interpreter' (will compile your code before run automatically)
2424
```
25-
Usage: ecs [options...] <FILE> [arguments...]
25+
Usage:
26+
ecs [options...] <FILE> [arguments...]
27+
ecs [options...]
2628
27-
Options:
28-
Option Function
29-
-h Show help information
30-
-v Show version infomation
29+
Interpreter Options:
3130
-f Disable compile cache
3231
-m Disable beautify
3332
-c Check grammar only
3433
-g Generate cSYM info
3534
-d Run debugger
36-
-u <CHARSET> Set unicode charset
37-
CHARSET = {"UTF8", "GBK"}
38-
-i <PATH> Set import path
3935
-o <PATH> Set output path
4036
-- <ARGS> Pass parameters to CovScript
4137
38+
Interpreter REPL Options:
39+
-s Close the command prompt
40+
-r <ARGS...> Set arguments for REPL
41+
42+
Common Options:
43+
Option Function
44+
-h Show help information
45+
-v Show version infomation
46+
-u <CHARSET> Set unicode charset
47+
CHARSET = {"AUTO", "UTF8", "GBK"}
48+
-i <PATH> Append import path
49+
4250
```
4351
## Compatibility Notice
4452
1. The program translated by ECS Compiler will depends on package `ecs`.

0 commit comments

Comments
 (0)