coreutils: update to clap 4

This commit is contained in:
Terts Diepraam 2022-10-01 12:27:32 +02:00
parent 153614c40e
commit 84b7ecd32d
3 changed files with 137 additions and 115 deletions

View file

@ -39,7 +39,7 @@ pub fn main() {
let mut mf = File::create(Path::new(&out_dir).join("uutils_map.rs")).unwrap();
mf.write_all(
"type UtilityMap<T> = phf::Map<&'static str, (fn(T) -> i32, fn() -> Command<'static>)>;\n\
"type UtilityMap<T> = phf::Map<&'static str, (fn(T) -> i32, fn() -> Command)>;\n\
\n\
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n"
.as_bytes(),