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:
authorKenneth Skovhede <kenneth@hexad.dk>2017-06-02 13:16:36 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2017-06-02 13:16:36 +0300
commitae1e221dec69fbed3e85ca8c668764a1559437f8 (patch)
treec92c506ca980d25aa8e5b4ef0b7554ff760e04ec
parent2b2e495e15d09b0667fb0be508cd8a576fbdc5f5 (diff)
parentd5f06c6b40263e121425268ea64629a4765117da (diff)
Merge branch 'feature/fix_commandline_error_message'
-rw-r--r--Duplicati/CommandLine/Strings.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Duplicati/CommandLine/Strings.cs b/Duplicati/CommandLine/Strings.cs
index 4c434abd6..ef9a45258 100644
--- a/Duplicati/CommandLine/Strings.cs
+++ b/Duplicati/CommandLine/Strings.cs
@@ -3,7 +3,7 @@ namespace Duplicati.CommandLine.Strings {
internal static class Program {
public static string DeleteCommandNeedsOptions(string commandname, string[] options) { return LC.L(@"The command {0} needs at least one of the following options set: {1}", commandname, string.Join(", ", options)); }
public static string WrongNumberOfCommandsError_v2(int actualcommands, int expectedcommands, string[] commands) { return LC.L(@"Found {0} commands but expected {1}, commands:
-{2}", actualcommands, expectedcommands, commands); }
+{2}", actualcommands, expectedcommands, string.Join(System.Environment.NewLine, commands ?? new string[0])); }
public static string InvalidCommandError(string commandname) { return LC.L(@"Command not supported: {0}", commandname); }
public static string NoFilesetsMatching { get { return LC.L(@"No filesets matched the criteria"); } }
public static string WouldDeleteBackups { get { return LC.L(@"The following filesets would be deleted:"); } }