jw.pkg.App: Remove --debug option

Remove the --debug option, which is superseded by the semantically
richer --log-level debug in the base class.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-21 16:32:06 +01:00
commit adb9837c63

View file

@ -69,8 +69,6 @@ class App(Base):
def _add_arguments(self, parser):
super()._add_arguments(parser)
parser.add_argument('-d', '--debug', action='store_true',
default=False, help='Output debug information to stderr')
parser.add_argument('-t', '--topdir', nargs=1, default = [], help='Project Path')
parser.add_argument('-p', '--prefix', nargs=1, default = [ self.projs_root ],
help='Parent directory of project source directories')
@ -78,7 +76,6 @@ class App(Base):
async def _run(self, args: argparse.Namespace) -> None:
self.opt_debug = args.debug
self.opt_os = args.os
if args.prefix is not None: