def excelLoaderOptionExtender(parser, *args, **kwargs):
    parser.add_option('--save-Excel-DTS-directory', action='store', dest='saveExcelDTSdirectory', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--exclude-designated-enumerations', action='store_true', dest='excludeDesignatedEnumerations', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--annotate-enumerations-documentation', action='store_true', dest='annotateEnumerationsDocumentation', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--annotate-element-documentation', action='store_true', dest='annotateElementDocumentation', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--save-lang', action='store', dest='saveLang', help=_('Save an xml:lang on top level elements (schema, linkbase).'))
def excelLoaderOptionExtender(parser, *args, **kwargs):
    parser.add_option('--save-Excel-DTS-directory', action='store', dest='saveExcelDTSdirectory', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--exclude-designated-enumerations', action='store_true', dest='excludeDesignatedEnumerations', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--annotate-enumerations-documentation', action='store_true', dest='annotateEnumerationsDocumentation', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--annotate-element-documentation', action='store_true', dest='annotateElementDocumentation', help=_('Save a DTS loaded from Excel into this directory.'))
    parser.add_option('--save-lang', action='store', dest='saveLang', help=_('Save an xml:lang on top level elements (schema, linkbase).'))