mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-09 21:33:23 +08:00
Update document
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
4. 易于将`shell`脚本转换为等价的`recipe`
|
||||
5. 已有大量`recipe`可提供参考
|
||||
6. 提供了 [recipe template] 供直接使用
|
||||
7. 提供持续关注镜像站可用性的协作平台:
|
||||
|
||||
1. https://github.com/RubyMetric/chsrc/wiki
|
||||
2. https://github.com/RubyMetric/chsrc/discussions
|
||||
|
||||
成功案例: [Armbian](../src/recipe/os/APT/Armbian.c)
|
||||
|
||||
@@ -61,7 +65,12 @@
|
||||
|
||||
4. 在各大镜像站寻找可用源;可以额外补充镜像站
|
||||
|
||||
5. 可以使用 `chsrc.h` 中暴露出的任何 `chsrc_` 开头的函数或宏
|
||||
并创建或更新对应 `target` 的镜像站可用状态Wiki页: https://github.com/RubyMetric/chsrc/wiki
|
||||
|
||||
5. 可以使用这些函数:
|
||||
|
||||
1. `chsrc.h` 中暴露出的任何 `chsrc_` 开头的函数或宏
|
||||
2. `xy.h` 中以 `xy_` 开头的所有函数或宏
|
||||
|
||||
6. 在 `menu.c` 中添加用户可以使用的 `target` 别名
|
||||
|
||||
|
11
doc/chsrc.1
11
doc/chsrc.1
@@ -6,10 +6,10 @@
|
||||
.\" Contributors : Nul None <nul@none.org>
|
||||
.\" |
|
||||
.\" Created On : <2024-08-21>
|
||||
.\" Last Modified : <2024-08-23>
|
||||
.\" Last Modified : <2024-09-04>
|
||||
.\" --------------------------------------------------------------
|
||||
|
||||
.TH chsrc 1 "2024-08-23" "v0.1.7.4" "RubyMetric chsrc"
|
||||
.TH chsrc 1 "2024-09-04" "v0.1.8.1dev2" "RubyMetric chsrc"
|
||||
|
||||
.SH NAME
|
||||
chsrc - Change Source for every software on every platform from the command line
|
||||
@@ -75,12 +75,15 @@ chsrc - Change Source for every software on every platform from the command line
|
||||
\fB-dry\fR
|
||||
Dry Run,模拟换源过程,命令仅打印并不运行
|
||||
.TP
|
||||
\fB-ipv6\fR
|
||||
使用IPv6测速
|
||||
\fB-para(llel)\fR
|
||||
并行测速 (默认的顺序测速更有参考意义)
|
||||
.TP
|
||||
\fB-local\fR
|
||||
仅对本项目而非全局换源 (通过ls \fI<target>\fR查看支持情况)
|
||||
.TP
|
||||
\fB-ipv6\fR
|
||||
使用IPv6测速
|
||||
.TP
|
||||
\fB-en(glish)\fR
|
||||
使用英文输出
|
||||
.TP
|
||||
|
@@ -6,15 +6,15 @@
|
||||
@c Contributors : Nul None <nul@none.org>
|
||||
@c |
|
||||
@c Created On : <2024-08-22>
|
||||
@c Last Modified : <2024-08-23>
|
||||
@c Last Modified : <2024-09-04>
|
||||
@c --------------------------------------------------------------
|
||||
|
||||
\input texinfo
|
||||
@setfilename chsrc.info
|
||||
@settitle chsrc
|
||||
|
||||
@set Chsrc_Version v0.1.7.4
|
||||
@set Doc_Publish_Date 2024-08-23
|
||||
@set Chsrc_Version v0.1.8.1dev2
|
||||
@set Doc_Publish_Date 2024-09-04
|
||||
|
||||
@copying
|
||||
@comment 这是软件copyright,不是文档copyright,因此不放在titlepage
|
||||
@@ -134,6 +134,9 @@ Exit status:
|
||||
@item -dry
|
||||
Dry Run,模拟换源过程,命令仅打印并不运行
|
||||
|
||||
@item -para(llel)
|
||||
并行测速 (默认的顺序测速更有参考意义)
|
||||
|
||||
@item -ipv6
|
||||
使用IPv6测速
|
||||
|
||||
|
Reference in New Issue
Block a user