[kernel] Add missing zero_ok changes

This change adds some changes I missed as part of the previous (see
da5c1e9) zero_ok change.
This commit is contained in:
Justin C. Miller
2022-01-30 20:38:51 -08:00
parent 5e1e056623
commit 2aef7176ab
8 changed files with 27 additions and 42 deletions

View File

@@ -62,7 +62,7 @@ class Param:
@property
def optional(self):
if "zero_ok" in self.options: return "zero_ok"
elif "optional" in self.options: return "optional"
if "optional" in self.options: return "optional"
elif "zero_ok" in self.options: return "zero_ok"
else: return "required"