cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-duckdns-new-api.patch
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-add-option-to-list-token-provider.patch
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-proper-encode-string.patch
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-fix-argparse-list-token-providers.patch
cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
cd $(DIR_APP) && ./configure \
--- /dev/null
+commit 5e075681008174839a47cae698ae459c0ea3a30a
+Author: Stefan Schantl <stefan.schantl@ipfire.org>
+Date: Wed May 12 19:59:01 2021 +0200
+
+ Fix argsparse string for listing token providers.
+
+ Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
+
+diff --git a/ddns.in b/ddns.in
+index 538e4b0..20edd28 100755
+--- a/ddns.in
++++ b/ddns.in
+@@ -49,8 +49,8 @@ def main():
+ p_list_providers = subparsers.add_parser("list-providers",
+ help=_("List all available providers"))
+
+- # list-token-provider
+- p_list_token_provider = subparsers.add_parser("list-token-provider",
++ # list-token-providers
++ p_list_token_provider = subparsers.add_parser("list-token-providers",
+ help=_("List all providers which supports authentication via token"))
+
+ # update