diff --git a/src/DirOption.cs b/src/DirOption.cs index a86564a..7504ca9 100644 --- a/src/DirOption.cs +++ b/src/DirOption.cs @@ -2,14 +2,13 @@ namespace Dot; public class DirOption : IOption { - [Option('f', "filter", HelpText = nameof(Strings.FileSearchPattern), Default = "*.*" - , ResourceType = typeof(Strings))] + [Option('f', "filter", HelpText = nameof(Str.FileSearchPattern), Default = "*.*", ResourceType = typeof(Str))] public string Filter { get; set; } - [Value(0, HelpText = nameof(Strings.FolderPath), Default = ".", ResourceType = typeof(Strings))] + [Value(0, HelpText = nameof(Str.FolderPath), Default = ".", ResourceType = typeof(Str))] public string Path { get; set; } - [Option('r', "readonly", HelpText = nameof(Strings.ReadOnly), Default = false, ResourceType = typeof(Strings))] + [Option('r', "readonly", HelpText = nameof(Str.ReadOnly), Default = false, ResourceType = typeof(Str))] public bool ReadOnly { get; set; } } \ No newline at end of file diff --git a/src/Guid/Main.cs b/src/Guid/Main.cs index 0b157ce..8bf6cb3 100644 --- a/src/Guid/Main.cs +++ b/src/Guid/Main.cs @@ -7,11 +7,12 @@ public sealed class Main : Tool