diff --git a/SabreTools.CommandLine.Test/CommandSetTests.cs b/SabreTools.CommandLine.Test/CommandSetTests.cs index 3c48404..90f2d97 100644 --- a/SabreTools.CommandLine.Test/CommandSetTests.cs +++ b/SabreTools.CommandLine.Test/CommandSetTests.cs @@ -22,7 +22,7 @@ namespace SabreTools.CommandLine.Test var featureSet = new CommandSet(); featureSet.Add(input1); featureSet.Add(input2); - featureSet.AddChildrenFrom(feature1); + featureSet.AddFrom(feature1); var actualInput1 = featureSet["input1"]; Assert.NotNull(actualInput1); diff --git a/SabreTools.CommandLine/CommandSet.cs b/SabreTools.CommandLine/CommandSet.cs index e2d2ffd..687c1f4 100644 --- a/SabreTools.CommandLine/CommandSet.cs +++ b/SabreTools.CommandLine/CommandSet.cs @@ -135,7 +135,7 @@ namespace SabreTools.CommandLine /// If there is any overlap between existing names and the names from /// any of the children, this operation will overwrite them. /// - public void AddChildrenFrom(UserInput input) + public void AddFrom(UserInput input) { foreach (var kvp in input.Children) {