mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Allow usage of deprecated arg::help in yaml
This commit is contained in:
parent
638880271a
commit
20d6b01818
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ impl<'help> Arg<'help> {
|
|||
"aliases" => yaml_vec_or_str!(v, a, alias),
|
||||
"about" => yaml_to_str!(a, v, about),
|
||||
"long_about" => yaml_to_str!(a, v, long_about),
|
||||
"help" => yaml_to_str!(a, v, about),
|
||||
"long_help" => yaml_to_str!(a, v, long_about),
|
||||
"required" => yaml_to_bool!(a, v, required),
|
||||
"required_if" => yaml_tuple2!(a, v, required_if),
|
||||
"required_ifs" => yaml_tuple2!(a, v, required_if),
|
||||
|
|
Loading…
Reference in a new issue