Skip to content

Commit f289585

Browse files
authored
Improve help message (#141)
1 parent 4d1788e commit f289585

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

nanoFirmwareFlasher/Program.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ public static async Task<int> Main(string[] args)
6666
new HeadingInfo(_headerInfo),
6767
_copyrightInfo)
6868
.AddPreOptionsLine("")
69-
.AddPreOptionsLine("ERROR: No command was provided.")
7069
.AddPreOptionsLine("")
71-
.AddPreOptionsLine("Follow some examples on how to use nanoff. For more detailed explanations please check:")
70+
.AddPreOptionsLine("INFO: No command was provided.")
71+
.AddPreOptionsLine("")
72+
.AddPreOptionsLine("For the full list of commands and options use --help.")
73+
.AddPreOptionsLine("")
74+
.AddPreOptionsLine("Follows some examples on how to use nanoff. For more detailed explanations please check:")
7275
.AddPreOptionsLine("https://github.com/nanoframework/nanoFirmwareFlasher#usage")
7376
.AddPreOptionsLine("")
7477
.AddPreOptionsLine(HelpText.RenderUsageText(result))
75-
.AddPreOptionsLine("")
76-
.AddOptions(result);
78+
.AddPreOptionsLine("");
7779

7880
Console.WriteLine(helpText.ToString());
7981

0 commit comments

Comments
 (0)