From 44809f4012bd269f76dba763ab85687524363475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Sun, 10 Sep 2023 23:08:32 +0200 Subject: [PATCH] fixes param names --- PiwigoDirectorySync/Commands/PiwigoAddCommand.cs | 3 +-- PiwigoDirectorySync/Commands/PiwigoUpdateCommand.cs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PiwigoDirectorySync/Commands/PiwigoAddCommand.cs b/PiwigoDirectorySync/Commands/PiwigoAddCommand.cs index 548d0e9..0f59100 100644 --- a/PiwigoDirectorySync/Commands/PiwigoAddCommand.cs +++ b/PiwigoDirectorySync/Commands/PiwigoAddCommand.cs @@ -56,8 +56,7 @@ internal class PiwigoAddCommand : CancellableAsyncCommand")] public string ServerName { get; init; } = string.Empty; [CommandArgument(1, "")] public string UserName { get; init; } = string.Empty; [CommandArgument(2, "")] public string Password { get; init; } = string.Empty; - [CommandArgument(3, "")] public string Url { get; init; } = string.Empty; - + [CommandArgument(3, "")] public string Url { get; init; } = string.Empty; [CommandArgument(4, "")] public string RootDirectory { get; init; } = string.Empty; public override ValidationResult Validate() diff --git a/PiwigoDirectorySync/Commands/PiwigoUpdateCommand.cs b/PiwigoDirectorySync/Commands/PiwigoUpdateCommand.cs index c470f72..2bcd672 100644 --- a/PiwigoDirectorySync/Commands/PiwigoUpdateCommand.cs +++ b/PiwigoDirectorySync/Commands/PiwigoUpdateCommand.cs @@ -63,7 +63,7 @@ internal class PiwigoUpdateCommand : CancellableAsyncCommand