<FIX> filetool --exclude 无法取得参数问题

This commit is contained in:
nsnail 2023-08-23 23:08:33 +08:00
parent c6facb89df
commit b8eb916fbf

View File

@ -7,7 +7,7 @@ internal abstract class DirOption : OptionBase
[CommandOption("-e|--exclude")] [CommandOption("-e|--exclude")]
[Description(nameof(Ln.ExcludePathRegexes))] [Description(nameof(Ln.ExcludePathRegexes))]
[Localization(typeof(Ln))] [Localization(typeof(Ln))]
public IEnumerable<string> ExcludeRegexes { get; set; } public string[] ExcludeRegexes { get; set; }
[CommandOption("-f|--filter")] [CommandOption("-f|--filter")]
[Description(nameof(Ln.FileSearchPattern))] [Description(nameof(Ln.FileSearchPattern))]