From 94f2b3c7112f3a2020e43fe913c664e97b7dcccd Mon Sep 17 00:00:00 2001 From: irongut Date: Wed, 14 Apr 2021 23:27:39 +0100 Subject: [PATCH] improved help text --- src/CodeCoverageSummary/CommandLineOptions.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CodeCoverageSummary/CommandLineOptions.cs b/src/CodeCoverageSummary/CommandLineOptions.cs index bf43140..e973ec3 100644 --- a/src/CodeCoverageSummary/CommandLineOptions.cs +++ b/src/CodeCoverageSummary/CommandLineOptions.cs @@ -7,13 +7,13 @@ namespace CodeCoverageSummary [Value(index: 0, Required = true, HelpText = "Code coverage file to analyse.")] public string Filename { get; set; } - [Option(shortName: 'f', longName: "format", Required = false, HelpText = "Output Format - markdown or text (default).", Default = "text")] - public string Format { get; set; } - - [Option(shortName: 'b', longName: "badge", Required = false, HelpText = "Include a badge in the output - true / false (default).", Default = false)] + [Option(shortName: 'b', longName: "badge", Required = false, HelpText = "Include a badge in the output - true / false.", Default = false)] public bool Badge { get; set; } - [Option(shortName: 'o', longName: "output", Required = false, HelpText = "Output Type - console (default), file or both.", Default = "console")] + [Option(shortName: 'f', longName: "format", Required = false, HelpText = "Output Format - markdown or text.", Default = "text")] + public string Format { get; set; } + + [Option(shortName: 'o', longName: "output", Required = false, HelpText = "Output Type - console, file or both.", Default = "console")] public string Output { get; set; } } }