Closed ultimaweapon closed 4 months ago
maybe default_value_t = Default::default?
Also, have you tried this?
maybe default_value_t = Default::default?
Not working.
Also, have you tried this?
Not tried without =
yet but I think the builder pattern is better here because it does not require std::fmt::Display
implementation on the type.
The reason is because clap derive does not supports default value from
Default
trait (AFAIK), which we required for IDPS.