mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-06 17:54:39 -05:00
kbinxml_cli(cargo): upgrade to clap 3.0.14
This commit is contained in:
@@ -9,7 +9,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
anyhow = "1.0.19"
|
||||
byteorder = "1.3.2"
|
||||
clap = "2.32.0"
|
||||
clap = "3.0.14"
|
||||
encoding_rs = "0.8.6"
|
||||
kbinxml = { path = "../kbinxml" }
|
||||
pretty_env_logger = "0.4.0"
|
||||
|
||||
@@ -59,20 +59,20 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
.author("Matt Bilker <me@mbilker.us>")
|
||||
.arg(
|
||||
Arg::with_name("printer")
|
||||
Arg::new("printer")
|
||||
.help("Turn on the NodeCollection and NodeDefinition debug printer")
|
||||
.short("p")
|
||||
.short('p')
|
||||
.long("printer"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("encoding")
|
||||
Arg::new("encoding")
|
||||
.help("Set the encoding used when encoding kbin data")
|
||||
.short("e")
|
||||
.short('e')
|
||||
.long("encoding")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("input")
|
||||
Arg::new("input")
|
||||
.help("The file to convert")
|
||||
.index(1)
|
||||
.required(true),
|
||||
|
||||
Reference in New Issue
Block a user