mirror of
https://github.com/oliverbooth/fdup.git
synced 2024-12-04 19:08:49 +00:00
feat: default to . to reduce need for it as cli arg
This commit is contained in:
parent
7da6faff83
commit
8273a34fef
@ -5,9 +5,10 @@ namespace FindDuplicates;
|
||||
|
||||
internal sealed class ListSettings : CommandSettings
|
||||
{
|
||||
[CommandArgument(0, "<path>")]
|
||||
[Description("The path to search.")]
|
||||
public string InputPath { get; set; } = string.Empty;
|
||||
[CommandArgument(0, "[path]")]
|
||||
[Description("The path to search. Defaults to the current directory.")]
|
||||
[DefaultValue(".")]
|
||||
public string InputPath { get; set; } = ".";
|
||||
|
||||
[CommandOption("-r|--recursive")]
|
||||
[Description("When this flag is set, the directory will be scanned recursively. This may take longer.")]
|
||||
|
Loading…
Reference in New Issue
Block a user