From 7de4b48bfa149bae5e4929534f93abdb55f34eb8 Mon Sep 17 00:00:00 2001 From: Gao Siyan <108726816+gsy1519@users.noreply.github.com> Date: Mon, 17 Apr 2023 19:08:12 +0800 Subject: [PATCH] fix the name of spectator --- logic/Server/ArgumentOption.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logic/Server/ArgumentOption.cs b/logic/Server/ArgumentOption.cs index 838318c..2dddf7d 100644 --- a/logic/Server/ArgumentOption.cs +++ b/logic/Server/ArgumentOption.cs @@ -39,8 +39,8 @@ namespace Server [Option('f', "fileName", Required = false, HelpText = "The file to store playback file or to read file.")] public string FileName { get; set; } = DefaultArgumentOptions.FileName; - [Option('s', "spectator", Required = false, HelpText = "Whether allow a spectator to watch the game.")] - public bool spectator { get; set; } = true; + [Option('s', "allowSpectator", Required = false, HelpText = "Whether to allow a spectator to watch the game.")] + public bool AllowSpectator { get; set; } = true; [Option('b', "playback", Required = false, HelpText = "Whether open the server in a playback mode.")] public bool Playback { get; set; } = false;