Skip to content

Commit

Permalink
scripts: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Nov 2, 2020
1 parent 234aad1 commit a374eff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

模块化、轻量级且支持完全自定义的 [mirai](https://github.com/mamoe/mirai) 加载器。

欢迎阅读自带脚本的[说明](scripts/README.md)
欢迎阅读自带脚本的[说明](scripts/README.md)

## 简介

Expand Down
7 changes: 4 additions & 3 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ usage: mcl
-e,--enable-script <ScriptName> Enable script (exclude ".js")
-f,--set-boot-entry <EntryClass> Set Mirai Console boot entry
-g,--set-boot-args <Arguments> Set Mirai Console boot arguments
-i,--force-version <PackageName> Fetch info for specified package
-j,--list-repo-packages List available packages in Mirai Repo
-l,--list-disabled-scripts List disabled scripts
-m,--set-mirai-repo <Address> Set Mirai Repo address
-n,--channel <Channel> Set update channel of package
Expand All @@ -50,9 +52,8 @@ usage: mcl
-u,--disable-update Disable auto update
-v,--set-maven-repo <Address> Set Maven Repo address
-w,--version <Version> Set version of package
-x,--force-version Force downloading specified version
-z,--dry-run Only download libraries without
running them
-x,--force-version Force download specified version
-z,--dry-run Skip boot phase
```

## 开源许可证
Expand Down
2 changes: 1 addition & 1 deletion scripts/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ importPackage(org.itxtech.mcl.component);
importPackage(org.apache.commons.cli);

let group = new OptionGroup();
group.addOption(Option.builder("i").desc("Fetch information for specified package")
group.addOption(Option.builder("i").desc("Fetch info for specified package")
.longOpt("force-version").hasArg().argName("PackageName").build());
group.addOption(Option.builder("j").desc("List available packages in Mirai Repo")
.longOpt("list-repo-packages").build());
Expand Down

0 comments on commit a374eff

Please sign in to comment.