fix wrong call in template.py
This commit is contained in:
parent
9565fdcee6
commit
dcfa51cd00
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue