Skip to content

Commit 5d4b9c0

Browse files
josesimoesaromaa
authored andcommitted
Add output with CLI header (#2484)
***NO_CI***
1 parent dea7cc8 commit 5d4b9c0

File tree

1 file changed

+14
-0
lines changed
  • targets/netcore/nanoFramework.nanoCLR.CLI

1 file changed

+14
-0
lines changed

targets/netcore/nanoFramework.nanoCLR.CLI/Program.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@ static int Main(string[] args)
7070

7171
return (int)ExitCode.OK;
7272
}
73+
else
74+
{
75+
if (_verbosityLevel > VerbosityLevel.Quiet)
76+
{
77+
// show CLI header
78+
Console.ForegroundColor = ConsoleColor.White;
79+
80+
Console.WriteLine(_headerInfo);
81+
Console.WriteLine(_copyrightInfo);
82+
Console.WriteLine();
83+
84+
Console.WriteLine();
85+
}
86+
}
7387

7488
LogErrors(() =>
7589
{

0 commit comments

Comments
 (0)