From 946b210d3741dcddee0cc7270111cfb86f3311ad Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 3 Nov 2022 12:58:37 -0700 Subject: [PATCH] Add unused strict writing flag --- SabreTools/Features/BaseFeature.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/SabreTools/Features/BaseFeature.cs b/SabreTools/Features/BaseFeature.cs index 00b3e469..8b6742f3 100644 --- a/SabreTools/Features/BaseFeature.cs +++ b/SabreTools/Features/BaseFeature.cs @@ -976,6 +976,23 @@ namespace SabreTools.Features } } + // TODO: Should this just skip the item instead of the entire DAT? + // The rationale behind skipping the entire DAT is that if one thing is missing, likely a lot more is missing + // TDOO: Add to documentation + internal const string StrictValue = "strict"; + internal static Feature StrictFlag + { + get + { + return new Feature( + StrictValue, + new List() { "-str", "--strict" }, + "Enable strict DAT creation", + ParameterType.Flag, + longDescription: "Instead of writing empty strings for null values when set as required, cancel writing the DAT entirely."); + } + } + internal const string SuperdatValue = "superdat"; internal static Feature SuperdatFlag {