ddns: Add upstream patch to fix argparse list-token-providers command.

Fixes #12607.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-05-12 20:06:43 +02:00
committed by Michael Tremer
parent bf882cc808
commit 9121ebf621
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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