From f43d094a23e63e31390b87a8c930b1a3d439821e Mon Sep 17 00:00:00 2001 From: Rune Henriksen Date: Fri, 11 Jan 2019 20:10:31 +0100 Subject: set argument as disabled and remove flag toggle method --- Duplicati/Library/Main/Options.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Duplicati/Library/Main/Options.cs') 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")), @@ -1574,19 +1574,6 @@ namespace Duplicati.Library.Main get { return Library.Utility.Utility.ParseBoolOption(m_options, "disable-synthetic-filelist"); } } - /// - /// Flag indicating if the filepath cache is disabled - /// - public bool UseFilepathCache - { - get - { - string s; - m_options.TryGetValue("disable-filepath-cache", out s); - return !Library.Utility.Utility.ParseBool(s, true); - } - } - /// /// Flag indicating if the in-memory block cache is used /// -- cgit v1.2.3