Updated CLI client with newer URL and made rooms optional to test the behavior of Sneedchat with no room joined

This commit is contained in:
barelyprofessional
2024-06-09 14:58:17 +08:00
parent 6102a88721
commit 3ef573be5c
2 changed files with 8 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ namespace KfChatDotNetCli
[Option("debug", Required = false, Default = false, HelpText = "Enable debug logging")]
public bool Debug { get; set; }
[Option('r', "room", Required = true, HelpText = "Room ID to join on start")]
[Option('r', "room", Required = false, Default = int.MaxValue, HelpText = "Room ID to join on start")]
public int RoomId { get; set; }
}
static void Main(string[] args)