Skip to content

Commit

Permalink
Update BeyondCompare.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Aug 1, 2023
1 parent c882db3 commit e8bab0c
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions src/DiffEngine/Implementation/BeyondCompare.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,17 @@ static partial class Implementation
{
public static Definition BeyondCompare()
{
static string LeftWindowsArguments(string temp, string target)
{
return $"/solo /rightreadonly \"{target}\" \"{temp}\"";
}
static string LeftWindowsArguments(string temp, string target) =>
$"/solo /rightreadonly \"{target}\" \"{temp}\"";

static string RightWindowsArguments(string temp, string target)
{
return $"/solo /leftreadonly \"{temp}\" \"{target}\"";
}
static string RightWindowsArguments(string temp, string target) =>
$"/solo /leftreadonly \"{temp}\" \"{target}\"";

static string LeftOsxLinuxArguments(string temp, string target)
{
return $"-solo -rightreadonly \"{target}\" \"{temp}\"";
}
static string LeftOsxLinuxArguments(string temp, string target) =>
$"-solo -rightreadonly \"{target}\" \"{temp}\"";

static string RightOsxLinuxArguments(string temp, string target)
{
return $"-solo -leftreadonly \"{temp}\" \"{target}\"";
}
static string RightOsxLinuxArguments(string temp, string target) =>
$"-solo -leftreadonly \"{temp}\" \"{target}\"";

return new(
Tool: DiffTool.BeyondCompare,
Expand Down

0 comments on commit e8bab0c

Please sign in to comment.