mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 21:45:01 +00:00
coreutils: update to clap 4
This commit is contained in:
parent
153614c40e
commit
84b7ecd32d
3 changed files with 137 additions and 115 deletions
2
build.rs
2
build.rs
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue