Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions i18n/en-US/oma.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -430,3 +430,4 @@ clap-download-only-help = Only download package(s) and dependency(ies) (without
oma-mirror-up-to-date = { $mirror }: up to date
oma-mirror-outdated = { $mirror }: outdated - { $duration }
mirror-latency = Latency
clap-mirror-latency-help = Test mirror synchronization latency
1 change: 1 addition & 0 deletions i18n/zh-CN/oma.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,4 @@ clap-download-only-help = 只下载软件包和其依赖项,不安装
oma-mirror-up-to-date = { $mirror }: 最新同步
oma-mirror-outdated = { $mirror }: 存在延迟 - { $duration }
mirror-latency = 延迟
clap-mirror-latency-help = 测试镜像同步延迟
3 changes: 2 additions & 1 deletion src/subcommand/mirror.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ pub enum MirrorSubCmd {
#[arg(long, help = fl!("clap-no-refresh-help"))]
no_refresh: bool,
},
/// Get mirrors latency
/// Test mirror synchronization latency
#[command(about = fl!("clap-mirror-latency-help"))]
#[command(help_template = &*HELP_TEMPLATE)]
#[command(next_help_heading = &**crate::args::ARG_HELP_HEADING)]
Latency {
Expand Down
Loading