Mercurial > parpg-app
changeset 12:21714c459078
Added command line option to manually set a fife path.
author | Beliar <KarstenBock@gmx.net> |
---|---|
date | Mon, 05 Mar 2012 19:32:52 +0100 |
parents | fb9e2dfe3163 |
children | 820259a60c80 |
files | .hgsubstate parpg.py |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Sun Feb 26 01:58:36 2012 +0100 +++ b/.hgsubstate Mon Mar 05 19:32:52 2012 +0100 @@ -1,2 +1,2 @@ 23 data -5d47ad053aefb39d6a23c7c03b80efd180048295 parpg +94196a3e9c07f2c491bd9737cb55b86e48768f51 parpg
--- a/parpg.py Sun Feb 26 01:58:36 2012 +0100 +++ b/parpg.py Mon Mar 05 19:32:52 2012 +0100 @@ -19,7 +19,7 @@ from parpg.main import main -usage = ('usage: %prog [options]' +usage = ('usage: %prog [options] ' 'Example: python %prog .') parser = OptionParser(description='PARPG Launcher Script', usage=usage) @@ -27,6 +27,7 @@ help='Name of log file to save to') parser.add_option('-l', '--loglevel', default='critical', help='desired output level for log file') -opts, args = parser.parse_args() +parser.add_option('-p', '--fife-path', + help='Path to the fife module') -main(args, opts) +main(parser)