From d5e80b56d665ba4048ca9847318f384e9d784e77 Mon Sep 17 00:00:00 2001 From: Lance Lovette Date: Wed, 17 Feb 2021 08:54:51 -0500 Subject: [PATCH] Fix -f command line argument handling https://github.com/sparkle-project/Sparkle/issues/1763 --- generate_appcast/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_appcast/main.swift b/generate_appcast/main.swift index 2e4e8be2..3a55db57 100644 --- a/generate_appcast/main.swift +++ b/generate_appcast/main.swift @@ -126,8 +126,8 @@ func parseCommandLineOptions() -> CommandLineArguments { } // remove the already parsed arguments - arguments.remove(at: privateDSAKeyOptionIndex) arguments.remove(at: privateDSAKeyOptionIndex + 1) + arguments.remove(at: privateDSAKeyOptionIndex) } // check if the private dsa sould be loaded using the keyname and the name of the keychain