Multiple ways to specify OSDK new's type

This commit is contained in:
Zhang Junyang
2024-03-25 23:01:12 +08:00
committed by Tate, Hongliang Tian
parent dcab4e1039
commit 3dce753c86
12 changed files with 58 additions and 20 deletions

View File

@ -15,7 +15,7 @@ fn create_and_run_kernel() {
fs::remove_dir_all(&os_dir).unwrap();
}
let mut command = cargo_osdk(&["new", "--type", "kernel", os_name]);
let mut command = cargo_osdk(&["new", "--kernel", os_name]);
command.current_dir(work_dir);
command.ok().unwrap();