Rename OSDK clippy option from ktest to ktests

This commit is contained in:
jiangjianfeng 2026-01-04 11:07:47 +00:00 committed by Tate, Hongliang Tian
parent 4f62f2db8e
commit 95fc2ef17f
1 changed files with 3 additions and 3 deletions

View File

@ -61,10 +61,10 @@ pub fn main() {
execute_test_command(&load_config(&test_args.common_args), test_args);
}
OsdkSubcommand::Check(args) => {
execute_forwarded_command_on_each_crate("check", &args.args, args.ktest)
execute_forwarded_command_on_each_crate("check", &args.args, args.ktests)
}
OsdkSubcommand::Clippy(args) => {
execute_forwarded_command_on_each_crate("clippy", &args.args, args.ktest)
execute_forwarded_command_on_each_crate("clippy", &args.args, args.ktests)
}
OsdkSubcommand::Doc(args) => execute_forwarded_command("doc", &args.args, false),
}
@ -109,7 +109,7 @@ pub enum OsdkSubcommand {
#[derive(Debug, Parser)]
pub struct KtestWithForwardedArguments {
#[arg(long, help = "Check all targets that have `ktest = true` set")]
pub ktest: bool,
pub ktests: bool,
#[arg(
help = "The full set of Cargo arguments",
trailing_var_arg = true,