mirror of
https://github.com/nsnail/dot.git
synced 2025-06-20 06:18:15 +08:00
..
This commit is contained in:
@ -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; }
|
||||
}
|
Reference in New Issue
Block a user