diff options
Diffstat (limited to 'src/sbin/bcfg2-lint')
-rwxr-xr-x | src/sbin/bcfg2-lint | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-lint b/src/sbin/bcfg2-lint index 5368c4b93..4b1fa8686 100755 --- a/src/sbin/bcfg2-lint +++ b/src/sbin/bcfg2-lint @@ -69,12 +69,12 @@ def load_server(setup): return core if __name__ == '__main__': - optinto = dict(config=Bcfg2.Options.LINT_CONFIG, + optinfo = dict(config=Bcfg2.Options.LINT_CONFIG, showerrors=Bcfg2.Options.LINT_SHOW_ERRORS, stdin=Bcfg2.Options.LINT_FILES_ON_STDIN, schema=Bcfg2.Options.SCHEMA_PATH) - optinfo.update(CLI_COMMON_OPTIONS) - optinfo.update(SERVER_COMMON_OPTIONS) + optinfo.update(Bcfg2.Options.CLI_COMMON_OPTIONS) + optinfo.update(Bcfg2.Options.SERVER_COMMON_OPTIONS) setup = Bcfg2.Options.OptionParser(optinfo) setup.parse(sys.argv[1:]) |