1
0
mirror of https://github.com/oliverbooth/fdup.git synced 2024-12-05 02:28:47 +00:00

feat: default to . to reduce need for it as cli arg

This commit is contained in:
Oliver Booth 2024-04-17 14:35:30 +01:00
parent 7da6faff83
commit 8273a34fef
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -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.")]