From e2b671bf9ef69624091ef1e7aa2dc8987a85cae9 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sat, 26 May 2018 16:13:22 -0700 Subject: [PATCH] Provide missing values to format items. --- Duplicati/CommandLine/RecoveryTool/Download.cs | 2 +- Duplicati/CommandLine/RecoveryTool/Restore.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Duplicati/CommandLine/RecoveryTool/Download.cs b/Duplicati/CommandLine/RecoveryTool/Download.cs index 28998f7c1..5d55d865f 100644 --- a/Duplicati/CommandLine/RecoveryTool/Download.cs +++ b/Duplicati/CommandLine/RecoveryTool/Download.cs @@ -137,7 +137,7 @@ namespace Duplicati.CommandLine.RecoveryTool Console.WriteLine("Download complete, of {0} remote files, {1} were downloaded with {2} errors", lst.Count, downloaded, errors); if (needspass > 0) - Console.WriteLine("Additonally {0} remote files were skipped because of encryption, supply --passphrase to download those"); + Console.WriteLine("Additonally {0} remote files were skipped because of encryption, supply --passphrase to download those", needspass); if (errors > 0) return 200; diff --git a/Duplicati/CommandLine/RecoveryTool/Restore.cs b/Duplicati/CommandLine/RecoveryTool/Restore.cs index 36147959b..7cc445937 100644 --- a/Duplicati/CommandLine/RecoveryTool/Restore.cs +++ b/Duplicati/CommandLine/RecoveryTool/Restore.cs @@ -86,7 +86,7 @@ namespace Duplicati.CommandLine.RecoveryTool if (blocksize <= 0) { - Console.WriteLine("Invalid blocksize: {0}, try setting --blocksize manually"); + Console.WriteLine("Invalid blocksize: {0}, try setting --blocksize manually", blocksize); return 100; }