--enable_the_thing
--no_enable_the_thing
+ These arguments can be used to indicate the inclusion or exclusion of
+ binary exclusive behaviors.
"""
def __init__(self, option_strings, dest, default=None, required=False, help=None):
formatter_class=OptionalRawFormatter,
fromfile_prefix_chars="@",
epilog=f'{PROGRAM_NAME} uses config.py ({__file__}) for global, cross-module configuration setup and parsing.',
+ # I don't fully understand why but when loaded by sphinx sometimes
+ # the same module is loaded many times causing any arguments it
+ # registers via module-level code to be redefined. Work around
+ # this iff the program is 'sphinx-build'
+ conflict_handler='resolve' if PROGRAM_NAME == 'sphinx-build' else 'error',
)
# Keep track of if we've been called and prevent being called more