mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
whoami: update to clap 4
This commit is contained in:
parent
53567deb0f
commit
bfd310553d
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ edition = "2021"
|
||||||
path = "src/whoami.rs"
|
path = "src/whoami.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "3.2", features = ["wrap_help", "cargo"] }
|
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
|
||||||
uucore = { version=">=0.0.16", package="uucore", path="../../uucore", features=["entries"] }
|
uucore = { version=">=0.0.16", package="uucore", path="../../uucore", features=["entries"] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies]
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
|
|
|
@ -27,7 +27,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn uu_app<'a>() -> Command<'a> {
|
pub fn uu_app() -> Command {
|
||||||
Command::new(uucore::util_name())
|
Command::new(uucore::util_name())
|
||||||
.version(crate_version!())
|
.version(crate_version!())
|
||||||
.about(ABOUT)
|
.about(ABOUT)
|
||||||
|
|
Loading…
Reference in a new issue