fix wrong call in template.py

This commit is contained in:
Martinez 2015-06-08 21:09:49 +02:00
parent 9565fdcee6
commit dcfa51cd00

View file

@ -22,7 +22,7 @@ class ConfigurationError(Exception):
# -------------------------------------------------- # --------------------------------------------------
if __name__ == '__main__': if __name__ == '__main__':
main = over.core.app.Main('PROGRAM_NAME', version.str, 'AO-JSL') main = over.core.app.Main('short-name', 'Human Readable Name', version.str, 'LICENSE', use_cfg_file=False)
main.add_option('option', 'type', 'default', 'Description.', short_name='s') main.add_option('option', 'type', 'default', 'Description.', short_name='s')
main.add_help('Description', ['What it does.']) main.add_help('Description', ['What it does.'])
main.enable_help('h') main.enable_help('h')