diff --git a/ImageStitcher/ImageStitcher.csproj b/ImageStitcher/ImageStitcher.csproj
index a662b71..245782f 100644
--- a/ImageStitcher/ImageStitcher.csproj
+++ b/ImageStitcher/ImageStitcher.csproj
@@ -40,10 +40,8 @@
-
-
-
+
diff --git a/ImageStitcher/Program.cs b/ImageStitcher/Program.cs
index cf6a4d7..f3db685 100644
--- a/ImageStitcher/Program.cs
+++ b/ImageStitcher/Program.cs
@@ -24,7 +24,7 @@
if (args is [])
{
// If no args, print help
- result = await Cli.RunAsync(["-h"]).ConfigureAwait(false);
+ result = await Cli.RunAsync("-h").ConfigureAwait(false);
}
else
{
diff --git a/ImageStitcher/Stitcher.cs b/ImageStitcher/Stitcher.cs
index 6693720..8be8605 100644
--- a/ImageStitcher/Stitcher.cs
+++ b/ImageStitcher/Stitcher.cs
@@ -41,7 +41,7 @@ await Parallel.ForEachAsync(subfolders, token, async (subfolder, cancellationTok
public async ValueTask StitchFiles(ImageStitcherCommand command, FileInfo[] files, string outputName, CancellationToken token)
{
using MagickImageCollection original = new();
- if (command.Reverse || command.Direction is Direction.Horizontal)
+ if (command is { Reverse: true, Direction: Direction.Vertical } or { Reverse: false, Direction: Direction.Horizontal })
{
for (int i = files.Length - 1; i >= 0; i--)
{