mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
arch: update to clap 4
This commit is contained in:
@@ -16,7 +16,7 @@ path = "src/arch.rs"
|
||||
|
||||
[dependencies]
|
||||
platform-info = "1.0.0"
|
||||
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" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -23,7 +23,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn uu_app<'a>() -> Command<'a> {
|
||||
pub fn uu_app() -> Command {
|
||||
Command::new(uucore::util_name())
|
||||
.version(crate_version!())
|
||||
.about(ABOUT)
|
||||
|
||||
Reference in New Issue
Block a user