Allow usage of deprecated arg::help in yaml

This commit is contained in:
Pavan Kumar Sunkara 2020-04-28 12:22:48 +02:00
parent 638880271a
commit 20d6b01818

View file

@ -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),