Skip to content

Commit

Permalink
Improve help message (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Jul 6, 2022
1 parent 4d1788e commit f289585
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nanoFirmwareFlasher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,16 @@ public static async Task<int> Main(string[] args)
new HeadingInfo(_headerInfo),
_copyrightInfo)
.AddPreOptionsLine("")
.AddPreOptionsLine("ERROR: No command was provided.")
.AddPreOptionsLine("")
.AddPreOptionsLine("Follow some examples on how to use nanoff. For more detailed explanations please check:")
.AddPreOptionsLine("INFO: No command was provided.")
.AddPreOptionsLine("")
.AddPreOptionsLine("For the full list of commands and options use --help.")
.AddPreOptionsLine("")
.AddPreOptionsLine("Follows some examples on how to use nanoff. For more detailed explanations please check:")
.AddPreOptionsLine("https://github.com/nanoframework/nanoFirmwareFlasher#usage")
.AddPreOptionsLine("")
.AddPreOptionsLine(HelpText.RenderUsageText(result))
.AddPreOptionsLine("")
.AddOptions(result);
.AddPreOptionsLine("");

Console.WriteLine(helpText.ToString());

Expand Down

0 comments on commit f289585

Please sign in to comment.