From 56c4baf89bacf7494f2f304861bae1394dad4e4a Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 9 Feb 2021 09:36:43 -0600 Subject: swap argument and envar libs for nuget packages --- src/slskd/Common/Configuration/CommandLineConfigurationSource.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/slskd/Common/Configuration/CommandLineConfigurationSource.cs') diff --git a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs index fb479fd4..b1c83251 100644 --- a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs +++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Linq; + using Utility.CommandLine; /// /// Defines a command line argument mapping. @@ -86,7 +87,7 @@ private bool NormalizeKey { get; set; } /// - /// Initializes a new instance with the specified source. + /// Initializes a new instance of the class. /// /// The source settings. public CommandLineConfigurationProvider(CommandLineConfigurationSource source) @@ -101,7 +102,7 @@ /// public override void Load() { - var dictionary = CommandLineArguments.Parse(CommandLine).ArgumentDictionary; + var dictionary = Arguments.Parse(CommandLine).ArgumentDictionary; foreach (CommandLineArgument item in Map) { -- cgit v1.2.3