From 8d2d469ca8fc48ef293859f5794db28ac098dd7e Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Fri, 28 Feb 2020 22:08:22 +0000 Subject: [PATCH] Fixed `MaxLineNumber` attribute --- YololEmulator/Program.cs | 2 +- .../PublishProfiles/FolderProfile (Win_x86).pubxml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/YololEmulator/Program.cs b/YololEmulator/Program.cs index 87fed02..cb64ee4 100644 --- a/YololEmulator/Program.cs +++ b/YololEmulator/Program.cs @@ -28,7 +28,7 @@ private class Options [Option('c', "client", HelpText = "IP/Port to connect on", Required = false)] public string Client { get; set; } - [Option('m', "max_line", HelpText = "Set the max line number", Required = false, Default = 20)] + [Option('m', "max_line", HelpText = "Set the max line number", Required = false, Default = (ushort)20)] public ushort MaxLineNumber { get; set; } [Option('a', "auto", HelpText = "Automaticaly run each line", Required = false)] diff --git a/YololEmulator/Properties/PublishProfiles/FolderProfile (Win_x86).pubxml b/YololEmulator/Properties/PublishProfiles/FolderProfile (Win_x86).pubxml index ac5540a..9f84bb6 100644 --- a/YololEmulator/Properties/PublishProfiles/FolderProfile (Win_x86).pubxml +++ b/YololEmulator/Properties/PublishProfiles/FolderProfile (Win_x86).pubxml @@ -7,10 +7,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121. FileSystem Release Any CPU - netcoreapp2.1 + netcoreapp3.0 C:\Users\Martin\Desktop\Yolol.Emulator (Win) win-x86 true <_IsPortable>false + True + True + False \ No newline at end of file