Commit d1c06eb4 authored by Jérome Perrin's avatar Jérome Perrin

dream_platform: do not set useless parameters

parent 0af2758e
...@@ -187,11 +187,10 @@ def main(*args): ...@@ -187,11 +187,10 @@ def main(*args):
parser = argparse.ArgumentParser(description='Launch the DREAM simulation platform.') parser = argparse.ArgumentParser(description='Launch the DREAM simulation platform.')
parser.add_argument('gui_class', metavar='GUI_KLASS', nargs="?", default="Default", parser.add_argument('gui_class', metavar='GUI_KLASS', nargs="?", default="Default",
help='The GUI klass to launch') help='The GUI klass to launch')
parser.add_argument('--port', dest='port', default=5000, type=int, parser.add_argument('--port', default=5000, type=int,
help='Port number to listen to') help='Port number to listen on')
parser.add_argument('--host', dest='host', default="localhost", parser.add_argument('--host', default="localhost", help='Host address')
help='Host address') parser.add_argument('--logfile', help='Log to file')
parser.add_argument('--logfile', dest='logfile', help='Log to file')
arguments = parser.parse_args() arguments = parser.parse_args()
global klass_name global klass_name
klass_name = 'dream.simulation.GUI.%s' % arguments.gui_class klass_name = 'dream.simulation.GUI.%s' % arguments.gui_class
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment