The opmode module implicitly sets the default value of boolean-valued options to False in constructing command line options (by adding the argument with action="store_true"). This is reasonable, and unrelated to the interpretation of type hint Optional for non-boolean valued options. Schema generation should adopt this convention.