Skip to content

Commit

Permalink
remove FilePath field from GlobOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jun 22, 2024
1 parent f9f27cb commit 233689c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion IsIdentifiable/Options/IsIdentifiableFileOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class IsIdentifiableFileOptions : IsIdentifiableOptions
/// <summary>
/// Path to a file to be evaluated
/// </summary>

[Option('f', HelpText = "Path to a file to be evaluated", Required = true)]
public string FilePath { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions ii/IsIdentifiableFileGlobOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace ii;
[Verb("file", HelpText = "Run tool on one or more delimited textual data files (e.g. csv)")]
internal class IsIdentifiableFileGlobOptions : IsIdentifiableFileOptions
{
[Option('f', HelpText = "Path to a file or directory to be evaluated", Required = true)]
// [Option('f', HelpText = "Path to a file or directory to be evaluated", Required = true)]
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public new string FilePath { get; set; }
// public new string FilePath { get; set; }
#pragma warning restore CS8618

[Option('g', HelpText = "Pattern to use for matching files when -f is a directory. Supports specifying a glob e.g. /**/*.csv", Required = false, Default = "*.csv")]
Expand Down

0 comments on commit 233689c

Please sign in to comment.