|
13 | 13 | |
14 | 14 | * | |
15 | 15 | * Created On : <2023-08-28> |
16 | | - * Last Modified : <2024-09-23> |
| 16 | + * Last Modified : <2024-09-29> |
17 | 17 | * |
18 | 18 | * chsrc: Change Source —— 全平台通用命令行换源工具 |
19 | 19 | * ------------------------------------------------------------*/ |
20 | 20 |
|
21 | 21 | #define Chsrc_Version "0.1.9.Beta1Dev2" |
22 | | -#define Chsrc_Release_Date "2024/09/23" |
| 22 | +#define Chsrc_Release_Date "2024/09/29" |
23 | 23 | #define Chsrc_Banner_Version "v" Chsrc_Version "-" Chsrc_Release_Date |
24 | 24 | #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" |
25 | 25 | #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" |
@@ -139,7 +139,6 @@ Chsrc_Usage[] = { |
139 | 139 |
|
140 | 140 | "选项:", |
141 | 141 | "-dry Dry Run,模拟换源过程,命令仅打印并不运行", |
142 | | - "-para(llel) 并行测速 (默认的顺序测速更有参考意义)", |
143 | 142 | "-local 仅对本项目而非全局换源 (通过ls <target>查看支持情况)", |
144 | 143 | "-ipv6 使用IPv6测速", |
145 | 144 | "-en(glish) 使用英文输出", |
@@ -173,7 +172,6 @@ Chsrc_Usage_English[] = { |
173 | 172 |
|
174 | 173 | "Options:", |
175 | 174 | "-dry Dry Run. Simulate the source changing process, command only prints, not run", |
176 | | - "-para(llel) Measure velocity in parallel", |
177 | 175 | "-local Change source only for this project rather than globally (Via `ls <target>`)", |
178 | 176 | "-ipv6 Speed measurement using IPv6", |
179 | 177 | "-en(glish) Output in English", |
@@ -620,12 +618,6 @@ main (int argc, char const *argv[]) |
620 | 618 | { |
621 | 619 | CliOpt_DryRun = true; |
622 | 620 | } |
623 | | - else if ( xy_streql (argv[i], "-para") |
624 | | - || xy_streql (argv[i], "-parallel") |
625 | | - || xy_streql (argv[i], "-paralel")) |
626 | | - { |
627 | | - CliOpt_Parallel = true; |
628 | | - } |
629 | 621 | else if (xy_streql (argv[i], "-no-color") || xy_streql (argv[i], "-no-colour")) |
630 | 622 | { |
631 | 623 | CliOpt_NoColor = true; |
|
0 commit comments