mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 13:37:48 +00:00
printf: clap 3
This commit is contained in:
parent
8ba10936b0
commit
b94809197f
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ edition = "2018"
|
||||||
path = "src/printf.rs"
|
path = "src/printf.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "2.33", features = ["wrap_help"] }
|
clap = { version = "3.0", features = ["wrap_help", "cargo"] }
|
||||||
itertools = "0.8.0"
|
itertools = "0.8.0"
|
||||||
uucore = { version=">=0.0.10", package="uucore", path="../../uucore" }
|
uucore = { version=">=0.0.10", package="uucore", path="../../uucore" }
|
||||||
uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_procs" }
|
uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_procs" }
|
||||||
|
|
|
@ -296,8 +296,8 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn uu_app() -> App<'static, 'static> {
|
pub fn uu_app<'a>() -> App<'a> {
|
||||||
App::new(uucore::util_name())
|
App::new(uucore::util_name())
|
||||||
.arg(Arg::with_name(VERSION).long(VERSION))
|
.arg(Arg::new(VERSION).long(VERSION))
|
||||||
.arg(Arg::with_name(HELP).long(HELP))
|
.arg(Arg::new(HELP).long(HELP))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue