提交 03efd82b 编写于 作者: S shenyuhan

add single_app()

上级 31a7d017
......@@ -159,7 +159,12 @@ class ServingCommand(BaseCommand):
print(str)
def execute(self, argv):
args = self.parser.parse_args()
try:
args = self.parser.parse_args()
except:
print("Please refer to the instructions below.")
ServingCommand.show_help()
return False
if args.start is True:
ServingCommand.start_serving(args)
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册