mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add new derive macros ValueEnumDisplay and ValueEnumFromStr which can be used to derive 'Display' and 'FromStr' for enums implementing 'clap::ValueEnum'. It helps in reducing boilerplate code and keep things in sync. Assisted-by: IBM Bob:1.0.4 Signed-off-by: Marc Hartmayer <marc@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
537 B
537 B