minor style changes
This commit is contained in:
parent
9f162f8928
commit
271db52da3
1 changed files with 6 additions and 5 deletions
11
template.py
11
template.py
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
# library imports
|
# library imports
|
||||||
import over
|
import over
|
||||||
|
prefix = over.core.text.prefix
|
||||||
|
|
||||||
# local imports
|
# local imports
|
||||||
#import version
|
#import version
|
||||||
|
@ -21,11 +22,11 @@ class ConfigurationError(Exception):
|
||||||
|
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
main = over.core.app.Main('short-name', 'Human Readable Name', version.str, 'LICENSE', use_cfg_file=False)
|
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")
|
||||||
main.parse()
|
main.parse()
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue