draw help always even if not noui is set
This commit is contained in:
@@ -29,13 +29,10 @@ public static class Program
|
|||||||
internal static void Main(string[] args)
|
internal static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var options = new Options(args);
|
var options = new Options(args);
|
||||||
if (options.NoUi)
|
if (options.Help)
|
||||||
{
|
options.DrawHelp();
|
||||||
if (options.Help)
|
else if (options.NoUi)
|
||||||
options.DrawHelp();
|
InstallWithoutGui(options.UpdateOptions, options.Silent);
|
||||||
else
|
|
||||||
InstallWithoutGui(options.UpdateOptions, options.Silent);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ShowWindow(GetConsoleWindow(), 0);
|
ShowWindow(GetConsoleWindow(), 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user