Version 0.9.1 : Options specified in decorator are not properly handled if they have underscores

Issue #1 resolved
coderazzi coderazzi repo owner created an issue

Options with underscores are not properly handled:
options='import_folder' will require user to enter '--import_folder' This problem does not happen if option specified as 'import_folder_option'

Note that entering options='import-folder' would raise an Exception

            @optmatcher(flags='import', options='import_folder')
            def loadFail(self, import_folder,  database):
                return database, import_folder

Comments (1)

  1. Log in to comment