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!")