mirror of https://github.com/oliverbooth/fdup.git
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
|
internal sealed class ListSettings : CommandSettings
|
||||||
{
|
{
|
||||||
[CommandArgument(0, "<path>")]
|
[CommandArgument(0, "[path]")]
|
||||||
[Description("The path to search.")]
|
[Description("The path to search. Defaults to the current directory.")]
|
||||||
public string InputPath { get; set; } = string.Empty;
|
[DefaultValue(".")]
|
||||||
|
public string InputPath { get; set; } = ".";
|
||||||
|
|
||||||
[CommandOption("-r|--recursive")]
|
[CommandOption("-r|--recursive")]
|
||||||
[Description("When this flag is set, the directory will be scanned recursively. This may take longer.")]
|
[Description("When this flag is set, the directory will be scanned recursively. This may take longer.")]
|
||||||
|
|
Loading…
Reference in New Issue