[thin_shrink] Support short options

This commit is contained in:
Ming-Hung Tsai 2021-07-05 15:56:47 +08:00
parent 1526ab3472
commit d00388f68a
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ fn main() {
Arg::with_name("INPUT")
.help("Specify thinp metadata xml file")
.required(true)
.short("i")
.long("input")
.value_name("INPUT")
.takes_value(true),
@ -26,6 +27,7 @@ fn main() {
Arg::with_name("OUTPUT")
.help("Specify output xml file")
.required(true)
.short("o")
.long("output")
.value_name("OUTPUT")
.takes_value(true),