diff --git a/SLCommandScript.FileScriptsLoader/Loader/CommandsDirectory.cs b/SLCommandScript.FileScriptsLoader/Loader/CommandsDirectory.cs index cb5c86b..9d60796 100644 --- a/SLCommandScript.FileScriptsLoader/Loader/CommandsDirectory.cs +++ b/SLCommandScript.FileScriptsLoader/Loader/CommandsDirectory.cs @@ -24,6 +24,11 @@ public class CommandsDirectory : IDisposable /// public const string ScriptDescriptionExtension = "json"; + /// + /// Updates command description. + /// + /// Command to update. + /// New description values to set. private static void UpdateCommandDesc(FileScriptCommand cmd, CommandMetaData data) { cmd.Description = data.Description; @@ -257,8 +262,7 @@ private bool UpdateScriptDescription(string path) /// Unregisters a script command. /// /// Script command file to unregister. - /// Command to unregister. - /// if unregistered without issues, otherwise. + /// Unregistered command if no issues occured, otherwise. private ICommand UnregisterCommand(string path) { var dir = HelpersProvider.FileSystemHelper.GetDirectory(path);