Browse Source

unify start options, replace '_' with '-'

tags/v1.0.0
maning202007 5 years ago
parent
commit
5822f2c54f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindinsight/scripts/start.py

+ 2
- 2
mindinsight/scripts/start.py View File

@@ -213,7 +213,7 @@ class Command(BaseCommand):
""" % (PortAction.MIN_PORT, PortAction.MAX_PORT, settings.PORT))

parser.add_argument(
'--debugger_port',
'--debugger-port',
type=int,
action=PortAction,
help="""
@@ -232,7 +232,7 @@ class Command(BaseCommand):
""")

parser.add_argument(
'--enable_debugger',
'--enable-debugger',
type=str2bool,
action=EnableDebuggerAction,
default=False,


Loading…
Cancel
Save