diff --git a/Duplicati/Library/Main/Options.cs b/Duplicati/Library/Main/Options.cs index 2ab74f3a9..972599d0f 100644 --- a/Duplicati/Library/Main/Options.cs +++ b/Duplicati/Library/Main/Options.cs @@ -406,6 +406,7 @@ namespace Duplicati.Library.Main new CommandLineArgument("compression-extension-file", CommandLineArgument.ArgumentType.Path, Strings.Options.CompressionextensionfileShort, string.Format(Strings.Options.CompressionextensionfileLong, DEFAULT_COMPRESSED_EXTENSION_FILE), DEFAULT_COMPRESSED_EXTENSION_FILE), new CommandLineArgument("quiet-console", CommandLineArgument.ArgumentType.Boolean, Strings.Options.QuietconsoleShort, Strings.Options.QuietconsoleLong, "false"), + new CommandLineArgument("verbose", CommandLineArgument.ArgumentType.Boolean, Strings.Options.VerboseShort, Strings.Options.VerboseLong, "false"), new CommandLineArgument("overwrite", CommandLineArgument.ArgumentType.Boolean, Strings.Options.OverwriteShort, Strings.Options.OverwriteLong, "false"), @@ -1112,10 +1113,15 @@ namespace Duplicati.Library.Main public bool NoConnectionReuse { get { return GetBool("no-connection-reuse"); } } /// - /// A value indicating if console output is redirected to the log file + /// A value indicating if console output is prohibited /// public bool QuietConsole { get { return GetBool("quiet-console"); } } + /// + /// A value indicating if the output should be verbose + /// + public bool Verbose { get { return GetBool("quiet-console"); } } + /// /// A value indicating restored files overwrite existing ones /// diff --git a/Duplicati/Library/Main/Strings/Options.Designer.cs b/Duplicati/Library/Main/Strings/Options.Designer.cs index 649a89d5b..f03534281 100644 --- a/Duplicati/Library/Main/Strings/Options.Designer.cs +++ b/Duplicati/Library/Main/Strings/Options.Designer.cs @@ -1320,6 +1320,24 @@ namespace Duplicati.Library.Main.Strings { } } + /// + /// Looks up a localized string similar to Use this option to increase the amount of output generated when running an option. Generally this option will produce a line for each file processed.. + /// + internal static string VerboseLong { + get { + return ResourceManager.GetString("VerboseLong", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Output more progress information. + /// + internal static string VerboseShort { + get { + return ResourceManager.GetString("VerboseShort", resourceCulture); + } + } + /// /// Looks up a localized string similar to By default, Duplicati will list and restore files from the most recent backup, use this option to select another item. You may enter multiple values separated with comma, and ranges using -, e.g. "0,2-4,7" .. /// diff --git a/Duplicati/Library/Main/Strings/Options.resx b/Duplicati/Library/Main/Strings/Options.resx index 584335566..192b0cd2e 100644 --- a/Duplicati/Library/Main/Strings/Options.resx +++ b/Duplicati/Library/Main/Strings/Options.resx @@ -555,4 +555,10 @@ Use this option to overwrite target files when restoring, if this option is not set the files will be restored with a timestamp and a number appended. + + Output more progress information + + + Use this option to increase the amount of output generated when running an option. Generally this option will produce a line for each file processed. + \ No newline at end of file