-I takes 1 arg and --precision takes a value
This commit is contained in:
parent
67bee201de
commit
be6ee76486
@ -43,7 +43,8 @@ fn main() -> std::io::Result<()> {
|
|||||||
.long("load-path")
|
.long("load-path")
|
||||||
.help("A path to use when resolving imports. May be passed multiple times.")
|
.help("A path to use when resolving imports. May be passed multiple times.")
|
||||||
.multiple(true)
|
.multiple(true)
|
||||||
.takes_value(true),
|
.takes_value(true)
|
||||||
|
.number_of_values(1),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("STYLE")
|
Arg::with_name("STYLE")
|
||||||
@ -152,6 +153,7 @@ fn main() -> std::io::Result<()> {
|
|||||||
Arg::with_name("PRECISION")
|
Arg::with_name("PRECISION")
|
||||||
.long("precision")
|
.long("precision")
|
||||||
.hidden(true)
|
.hidden(true)
|
||||||
|
.takes_value(true)
|
||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user