diff --git a/Mk/lint.mk b/Mk/lint.mk index f327dc611f..fcb47c0b39 100644 --- a/Mk/lint.mk +++ b/Mk/lint.mk @@ -81,6 +81,9 @@ lint-model: (xmllint $${MODEL} --xpath '//*[@type="CSVListField" and Mask and (not(MaskPerItem) or MaskPerItem=N)]' 2> /dev/null | grep '^<' || true) | while read LINE; do \ echo "$${MODEL}: $${LINE} uses Mask regex with MaskPerItem=N"; \ done; \ + (xmllint $${MODEL} --xpath '//*[@type="CSVListField" and not(Mask)]' 2> /dev/null | grep '^<' || true) | while read LINE; do \ + echo "$${MODEL}: $${LINE} does not specify a Mask regex"; \ + done; \ for TYPE in .\\AliasesField .\\DomainIPField HostnameField IPPortField NetworkField MacAddressField .\\RangeAddressField; do \ (xmllint $${MODEL} --xpath '//*[@type="'$${TYPE}'" and FieldSeparator=","]' 2> /dev/null | grep '^<' || true) | while read LINE; do \ echo "$${MODEL}: $${LINE} FieldSeparator=, is the default"; \