mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-07 15:55:53 +00:00
Fix clap deprecation warnings
This commit is contained in:
parent
f61f370343
commit
ce3a081ea7
@ -18,11 +18,11 @@ pub struct Args {
|
|||||||
pub export: Option<PathBuf>,
|
pub export: Option<PathBuf>,
|
||||||
|
|
||||||
/// Parameters for the model, each in the form `key=value`
|
/// Parameters for the model, each in the form `key=value`
|
||||||
#[clap(short, long, parse(try_from_str = parse_parameters))]
|
#[clap(short, long, value_parser = parse_parameters)]
|
||||||
pub parameters: Option<Parameters>,
|
pub parameters: Option<Parameters>,
|
||||||
|
|
||||||
/// Model deviation tolerance
|
/// Model deviation tolerance
|
||||||
#[clap(short, long, parse(try_from_str = parse_tolerance))]
|
#[clap(short, long, value_parser = parse_tolerance)]
|
||||||
pub tolerance: Option<Tolerance>,
|
pub tolerance: Option<Tolerance>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user