Update usage

This commit is contained in:
Aoran Zeng 2023-09-03 18:05:15 +08:00
parent 3082e72369
commit 2d8c049684
2 changed files with 22 additions and 20 deletions

View File

@ -22,16 +22,18 @@
```bash
使用chsrc <command> [target]
help # 打印此帮助,或 h, -h, --help
list (或 ls, 或 l) # 查看可用镜像源,和可换源软件
list mirror(s) # 查看可用镜像源
list target(s) # 查看可换源软件
list <target> # 查看该软件可以使用哪些源
cesu <target> # 对该软件所有源测速
get <target> # 查看当前软件的源使用情况
set <target> # 换源,自动测速后挑选最快源
set <target> -1 # 1,2,3的1。换源不测速挑选经维护者测速排序的第一源
set <target> -v # 换源,并打印换源所执行的具体操作
help # 打印此帮助,或 h, -h, --help
list (或 ls, 或 l) # 查看可用镜像源,和可换源软件
list mirror(s) # 查看可用镜像源
list target(s) # 查看可换源软件
list <target> # 查看该软件可以使用哪些源
cesu <target> # 对该软件所有源测速
get <target> # 查看当前软件的源使用情况
set <target> # 换源,自动测速后挑选最快源
set <target> def(ault) # 换源,默认挑选经维护者测速排序第一的源
set <target> <mirror> # 换源,指定使用某镜像站
```
换源:

20
chsrc.c
View File

@ -1023,16 +1023,16 @@ usage[] = {
"维护: https://gitee.com/RubyMetric/chsrc\n",
"使用chsrc <command> [target]",
"help # 打印此帮助,或 h, -h, --help",
"list (或 ls, 或 l) # 查看可用镜像源,和可换源软件",
"list mirror(s) # 查看可用镜像源",
"list target(s) # 查看可换源软件",
"list <target> # 查看该软件可以使用哪些源",
"cesu <target> # 对该软件所有源测速",
"get <target> # 查看当前软件的源使用情况",
"set <target> # 换源,自动测速后挑选最快源",
"set <target> -1 # 1,2,3的1。换源不测速挑选经维护者测速排序的第一",
"set <target> -v # 换源,并打印换源所执行的具体操作\n"
"help # 打印此帮助,或 h, -h, --help",
"list (或 ls, 或 l) # 查看可用镜像源,和可换源软件",
"list mirror(s) # 查看可用镜像源",
"list target(s) # 查看可换源软件",
"list <target> # 查看该软件可以使用哪些源",
"cesu <target> # 对该软件所有源测速",
"get <target> # 查看当前软件的源使用情况",
"set <target> # 换源,自动测速后挑选最快源",
"set <target> def(ault) # 换源,默认挑选经维护者测速排序第一的",
"set <target> <mirror> # 换源,指定使用某镜像站\n"
};