Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRune Henriksen <ruju@itu.dk>2019-01-11 22:10:31 +0300
committerRune Henriksen <ruju@itu.dk>2019-01-11 22:11:30 +0300
commitf43d094a23e63e31390b87a8c930b1a3d439821e (patch)
tree3c729c3a8f302a923894a96572113284d2153e8b /Duplicati/Library/Main/Options.cs
parentf696842877e58eca8315ba138f477568918c1c8a (diff)
set argument as disabled and remove flag toggle method
Diffstat (limited to 'Duplicati/Library/Main/Options.cs')
-rw-r--r--Duplicati/Library/Main/Options.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/Duplicati/Library/Main/Options.cs b/Duplicati/Library/Main/Options.cs
index afbf523b2..4d1866681 100644
--- a/Duplicati/Library/Main/Options.cs
+++ b/Duplicati/Library/Main/Options.cs
@@ -511,7 +511,7 @@ namespace Duplicati.Library.Main
new CommandLineArgument("skip-metadata", CommandLineArgument.ArgumentType.Boolean, Strings.Options.SkipmetadataShort, Strings.Options.SkipmetadataLong, "false"),
new CommandLineArgument("restore-permissions", CommandLineArgument.ArgumentType.Boolean, Strings.Options.RestorepermissionsShort, Strings.Options.RestorepermissionsLong, "false"),
new CommandLineArgument("skip-restore-verification", CommandLineArgument.ArgumentType.Boolean, Strings.Options.SkiprestoreverificationShort, Strings.Options.SkiprestoreverificationLong, "false"),
- new CommandLineArgument("disable-filepath-cache", CommandLineArgument.ArgumentType.Boolean, Strings.Options.DisablefilepathcacheShort, Strings.Options.DisablefilepathcacheLong, "true"),
+ new CommandLineArgument("disable-filepath-cache", CommandLineArgument.ArgumentType.Boolean, Strings.Options.DisablefilepathcacheShort, Strings.Options.DisablefilepathcacheLong, "true", null, null, Strings.Options.VerboseDeprecated),
new CommandLineArgument("use-block-cache", CommandLineArgument.ArgumentType.Boolean, Strings.Options.UseblockcacheShort, Strings.Options.UseblockcacheLong, "false"),
new CommandLineArgument("changed-files", CommandLineArgument.ArgumentType.Path, Strings.Options.ChangedfilesShort, Strings.Options.ChangedfilesLong),
new CommandLineArgument("deleted-files", CommandLineArgument.ArgumentType.Path, Strings.Options.DeletedfilesShort, Strings.Options.DeletedfilesLong("changed-files")),
@@ -1575,19 +1575,6 @@ namespace Duplicati.Library.Main
}
/// <summary>
- /// Flag indicating if the filepath cache is disabled
- /// </summary>
- public bool UseFilepathCache
- {
- get
- {
- string s;
- m_options.TryGetValue("disable-filepath-cache", out s);
- return !Library.Utility.Utility.ParseBool(s, true);
- }
- }
-
- /// <summary>
/// Flag indicating if the in-memory block cache is used
/// </summary>
public bool UseBlockCache