From 267f450fe848430894c1fc84437f72f4a651c239 Mon Sep 17 00:00:00 2001 From: jeffwiegner Date: Fri, 10 Nov 2023 00:02:05 -0500 Subject: [PATCH] Renamed incorrect Option name value for OutputFile from OutputPath --- src/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Program.cs b/src/Program.cs index 4a51cce..8393db3 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -1,7 +1,7 @@ - using System.IO; using CodeConverter; using CommandLine; + namespace CodeConversion { public class Options @@ -9,13 +9,13 @@ public class Options [Option('i', "InputFile", Required = true, HelpText = "File to convert.", SetName = "File")] public string InputFile { get; set; } - [Option('o', "OutputPath", Required = true, HelpText = "Output file.", SetName = "File")] + [Option('o', "OutputFile", Required = true, HelpText = "Output file.", SetName = "File")] public string OutputFile { get; set; } - [Option("PowerShell", Required = true, HelpText = "PowerShell script block to convert to C#", SetName = "PowerShell")] + [Option("PowerShell", HelpText = "PowerShell script block to convert to C#", SetName = "PowerShell")] public string PowerShell { get; set; } - [Option("CSharp", Required = true, HelpText = "C# code to convert to PowerShell", SetName = "CSharp")] + [Option("CSharp", HelpText = "C# code to convert to PowerShell", SetName = "CSharp")] public string CSharp { get; set; } }