Browse Source

fix the name of spectator

tags/0.1.0
Gao Siyan GitHub 2 years ago
parent
commit
7de4b48bfa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      logic/Server/ArgumentOption.cs

+ 2
- 2
logic/Server/ArgumentOption.cs View File

@@ -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;


Loading…
Cancel
Save