Skip to content

Commit 0fcf5d0

Browse files
committed
fix typo in property name
1 parent c3ad566 commit 0fcf5d0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

FluentCommandLineParser/Internals/Parsing/OptionArgumentParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void ParseArguments(IEnumerable<string> args, ParsedOption option)
6666

6767
option.Value = allArguments.FirstOrDefault();
6868
option.Values = allArguments.ToArray();
69-
option.AddtionalValues = additionalArguments.ToArray();
69+
option.AdditionalValues = additionalArguments.ToArray();
7070
}
7171

7272
private static void TryGetArgumentFromKey(ParsedOption option)

FluentCommandLineParser/Internals/Parsing/OptionParsers/ListCommandLineOptionParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public bool CanParse(ParsedOption parsedOption)
7878
var clone = parsedOption.Clone();
7979
clone.Value = value;
8080
clone.Values = new [] { value };
81-
clone.AddtionalValues = new string[0];
81+
clone.AdditionalValues = new string[0];
8282
return parser.CanParse(clone);
8383
});
8484
}

FluentCommandLineParser/Internals/Parsing/ParsedOption.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public ParsedOption()
6969
/// <summary>
7070
/// Gets or sets the additional values matched with this key.
7171
/// </summary>
72-
public string[] AddtionalValues { get; set; }
72+
public string[] AdditionalValues { get; set; }
7373

7474
/// <summary>
7575
/// Gets or sets the prefix for the key e.g. -, / or --.
@@ -144,7 +144,7 @@ public ParsedOption Clone()
144144
Prefix = Prefix,
145145
Suffix = Suffix,
146146
Value = Value,
147-
AddtionalValues = AddtionalValues,
147+
AdditionalValues = AdditionalValues,
148148
RawKey = RawKey,
149149
Values = Values
150150
};

0 commit comments

Comments
 (0)