Skip to content
Snippets Groups Projects
Commit 0b03fc15 authored by Jan Doskočil's avatar Jan Doskočil Committed by Daniel Salzman
Browse files

knot-exporter: no zone timers by default

parent 7d9895d2
No related branches found
No related tags found
No related merge requests found
......@@ -216,15 +216,23 @@ def main():
)
parser.add_argument(
"--no-zone-timers",
"--no-zone-serial",
action='store_false',
help="disable collection of zone timer settings"
help="disable collection of zone serial"
)
parser.add_argument(
"--no-zone-serial",
action='store_false',
help="disable collection of zone serial"
"--zone-timers",
action='store_true',
default=False,
help="enable collection of zone SOA timer values"
)
parser.add_argument(
"--no-zone-timers",
action='store_const',
help="supported for compatibility reasons; no effect",
# deprecated=True # in python >=3.13
)
args = parser.parse_args()
......@@ -237,7 +245,7 @@ def main():
args.no_global_stats,
args.no_zone_stats,
args.no_zone_status,
args.no_zone_timers,
args.zone_timers,
args.no_zone_serial,
))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment