diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-09 09:36:43 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-09 09:36:43 -0600 |
| commit | 56c4baf89bacf7494f2f304861bae1394dad4e4a (patch) | |
| tree | 61d8830c5866e90f5cf80975273088ca4670e627 /src/slskd/Common/Configuration/CommandLineConfigurationSource.cs | |
| parent | b4760da1b4f6c3eb0f9df99f5914baa272215ec2 (diff) | |
| download | slskd-56c4baf89bacf7494f2f304861bae1394dad4e4a.tar.gz | |
swap argument and envar libs for nuget packages
Diffstat (limited to 'src/slskd/Common/Configuration/CommandLineConfigurationSource.cs')
| -rw-r--r-- | src/slskd/Common/Configuration/CommandLineConfigurationSource.cs | 5 |
1 files changed, 3 insertions, 2 deletions
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; /// <summary> /// Defines a command line argument mapping. @@ -86,7 +87,7 @@ private bool NormalizeKey { get; set; } /// <summary> - /// Initializes a new instance with the specified source. + /// Initializes a new instance of the <see cref="CommandLineConfigurationProvider"/> class. /// </summary> /// <param name="source">The source settings.</param> public CommandLineConfigurationProvider(CommandLineConfigurationSource source) @@ -101,7 +102,7 @@ /// </summary> public override void Load() { - var dictionary = CommandLineArguments.Parse(CommandLine).ArgumentDictionary; + var dictionary = Arguments.Parse(CommandLine).ArgumentDictionary; foreach (CommandLineArgument item in Map) { |
