]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing lib/pp_admintools/app/pdns.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 18 Nov 2022 09:27:39 +0000 (10:27 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 18 Nov 2022 09:27:39 +0000 (10:27 +0100)
lib/pp_admintools/app/pdns.py

index 6f0a989f0149cb32eebd958372c42bbdbbb972b3..d484c0927405316d08d9eb7a9513fceb37b7bda4 100644 (file)
@@ -41,7 +41,7 @@ from ..config.pdns import PdnsConfiguration
 
 from ..xlate import XLATOR
 
-__version__ = '0.9.6'
+__version__ = '0.9.7'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -281,7 +281,7 @@ class PpPDNSApplication(BaseMailApplication):
             "The timeout in seconds for the communication with the PowerDNS-API. "
             "Default: {} seconds.").format(PdnsConfiguration.default_pdns_timeout)
         pdns_group.add_argument(
-            '-T', '--timeout', meta=_("SECONDS"), type=int, dest='timeout',
+            '-T', '--timeout', metavar=_("SECONDS"), type=int, dest='timeout',
             help=help_msg,
         )