From 16dc6c2b5bdefd1eedc9848fd593101e98d470f9 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 6ec7fcb3..c1c1e000 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