From 99859dd4f8939cf017c00adc74a30e6dd49e1e7a Mon Sep 17 00:00:00 2001 From: Karl Voit Date: Sun, 16 Nov 2025 11:22:23 +0100 Subject: [PATCH] added logging of CLI options --- filetags/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/filetags/__init__.py b/filetags/__init__.py index d23d79b..f37bd52 100755 --- a/filetags/__init__.py +++ b/filetags/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -PROG_VERSION = "Time-stamp: <2025-09-02 16:42:40 rise>" +PROG_VERSION = "Time-stamp: <2025-10-25 12:32:41 vk>" # TODO: # - fix parts marked with «FIXXME» @@ -2852,6 +2852,8 @@ def main(): handle_logging() + logging.debug(f'{options=}') + if options.verbose and options.quiet: error_exit(1, "Options \"--verbose\" and \"--quiet\" found. " + "This does not make any sense, you silly fool :-)")