From d9ffecec955ab694d3f1cf3dc169e7cd6bde55fb Mon Sep 17 00:00:00 2001 From: "OPTIMUS-PRIME\\craig" Date: Sun, 5 Aug 2018 21:48:34 +0100 Subject: [PATCH] Fix spelling in ValidateFile's attibutes (command-method). --- WetPancakeCLI/ConsoleCommands.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/WetPancakeCLI/ConsoleCommands.cs b/WetPancakeCLI/ConsoleCommands.cs index acd5416..2d37c3a 100644 --- a/WetPancakeCLI/ConsoleCommands.cs +++ b/WetPancakeCLI/ConsoleCommands.cs @@ -73,7 +73,9 @@ namespace WetPancakeCLI try { WriteLine("Attempting to list out the available template files..."); - var files = FSharpAsync.StartAsTask(RequestAllTemplateFilesAsync(), _taskCreationOptions, _cancellationToken).Result; + var files = + FSharpAsync.StartAsTask + (RequestAllTemplateFilesAsync(), _taskCreationOptions, _cancellationToken).Result; foreach (var item in files) { WriteLine($"File path: {item}"); @@ -88,7 +90,9 @@ namespace WetPancakeCLI } [ListCommand] - [Description("Checks the text in the specified .txt file to see if it ")] + [Description( + "Checks the text in the specified .txt file to see if it is compatible with this program.\n" + + "For a file to be compatible, it must be a .txt file and contain at least one '.', '!' or '?'.")] [Parameters("filePath: string")] [Usage("> ValidateFile \"C:/your-file.txt\"")] public static string ValidateFile(string filePath)