diff options
author | uzvkl <dennis.kobert@student.kit.edu> | 2019-05-20 00:54:14 +0200 |
---|---|---|
committer | uzvkl <dennis.kobert@student.kit.edu> | 2019-05-20 00:54:14 +0200 |
commit | ed26623e17e8dfcc036f88cca6de10d5a35697ec (patch) | |
tree | 26dae8b824631e6542c876c82ce0e15260c411bc /DSALib/Commands/Help.cs | |
parent | 2ab4051c6fe720dc47e99b0c305a0d779ee02d51 (diff) |
Reorganize Code delete ZoBotanica
Diffstat (limited to 'DSALib/Commands/Help.cs')
-rw-r--r-- | DSALib/Commands/Help.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DSALib/Commands/Help.cs b/DSALib/Commands/Help.cs index 974c44c..4506821 100644 --- a/DSALib/Commands/Help.cs +++ b/DSALib/Commands/Help.cs @@ -1,8 +1,8 @@ using System.Linq; -using DSACore.Auxiliary; -using DSACore.DSA_Game.Save; +using DSALib.Auxiliary; +using DSALib.DSA_Game.Save; -namespace DSACore.Commands +namespace DSALib.Commands { public class Help { @@ -13,7 +13,7 @@ namespace DSACore.Commands { // return command specific help var com = Properties.CommandInfos - .OrderBy(x => SpellCorrect.CompareEasy(x.Name, command.ToLower())).First(); // get best fit command + .OrderBy(x => SpellCorrect.Compare(x.Name, command.ToLower())).Last(); // get best fit command return com.GetDescription(); } |