From 5822f2c54f36c23fa58ba5e8c1eab5ca738b6dbf Mon Sep 17 00:00:00 2001 From: maning202007 Date: Tue, 15 Sep 2020 16:56:01 +0800 Subject: [PATCH] unify start options, replace '_' with '-' --- mindinsight/scripts/start.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindinsight/scripts/start.py b/mindinsight/scripts/start.py index 361a5a99..ac843dc6 100644 --- a/mindinsight/scripts/start.py +++ b/mindinsight/scripts/start.py @@ -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,