From ac6499c23be9b28abedee08255f2a5c697a53691 Mon Sep 17 00:00:00 2001 From: Jan Starke Date: Fri, 22 Sep 2023 11:18:38 +0200 Subject: [PATCH] user lowercase conversion of format names --- src/bin/evtx2bodyfile/output_format.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/evtx2bodyfile/output_format.rs b/src/bin/evtx2bodyfile/output_format.rs index ff2bcc2..156289d 100644 --- a/src/bin/evtx2bodyfile/output_format.rs +++ b/src/bin/evtx2bodyfile/output_format.rs @@ -3,6 +3,9 @@ use strum_macros::Display; #[derive(ValueEnum, Clone, Display)] pub(crate) enum OutputFormat { + #[strum(serialize = "json")] Json, + + #[strum(serialize = "bodyfile")] Bodyfile, }