From 097629734818189c6434719035bcf922df5f8f34 Mon Sep 17 00:00:00 2001 From: JFronny <33260128+JFronny@users.noreply.github.com> Date: Mon, 31 Aug 2020 21:14:27 +0200 Subject: [PATCH] Fix CLI Installer --- InstallerCLI/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/InstallerCLI/Program.cs b/InstallerCLI/Program.cs index c9e890e..b5116c7 100644 --- a/InstallerCLI/Program.cs +++ b/InstallerCLI/Program.cs @@ -23,6 +23,7 @@ namespace Installer Basic = args.Length > 0 && args[0].ToLower() == "--basic"; ExternalFunctionalityManager.Init(new UtLibFunctions()); RootCommand rootCommand = new RootCommand(); + rootCommand.AddGlobalOption(new Option("--basic", "Use only basic console functionality. Must be the first parameter in the call")); Command install = new Command("install", "Install UpTool") { new Option(new[] {"--noPrep", "-p"}, "Doesn't initialize repos. Use with caution!")