minor style changes

This commit is contained in:
Martinez 2016-02-14 22:17:59 +01:00
parent 9f162f8928
commit 271db52da3

View file

@ -3,6 +3,7 @@
# library imports
import over
prefix = over.core.text.prefix
# local imports
#import version
@ -21,11 +22,11 @@ class ConfigurationError(Exception):
# --------------------------------------------------
if __name__ == '__main__':
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_help('Description', ['What it does.'])
main.enable_help('h')
if __name__ == "__main__":
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_help("Description", ["What it does."])
main.enable_help("h")
main.parse()
...