Jan Lindemann
0be539a40a
lib.App: Use parser in _add_arguments()
...
_add_arguments() adds the global options to self.__parser instead of
to the parser it receives. The two are the same object, because the
only caller passes self.__parser, so the change is not observable.
Use the parser parameter instead, so that the method honors its
argument the way Cmd.add_arguments() does, and so that the global
options can be shared with other parsers, e.g. the subcommand
parsers, without rewriting this method.
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-15 15:58:47 +02:00
..
distros
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
ec
projects-dir.mk: Add diff-projects target
2026-08-11 16:45:14 +02:00
pm
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
App.py
lib.App: Use parser in _add_arguments()
2026-08-15 15:58:47 +02:00
AsyncRunner.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
base.py
lib.Result: Add module
2026-06-02 17:52:49 +02:00
Cmd.py
App, cmds, lib: Fix Any returns from typed functions
2026-08-09 12:07:37 +00:00
CopyContext.py
App, cmds, lib: Fix Any returns from typed functions
2026-08-09 12:07:37 +00:00
Distro.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
ExecContext.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
FileContext.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
init.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
log.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
Makefile
jw.pkg.build.lib: Move to jw.pkg.lib
2026-01-26 17:58:23 +01:00
Package.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
PackageFilter.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
ProcFilter.py
App, lib, cmds: Fix mypy.explicit-override fallout
2026-08-07 18:02:26 +02:00
ProcFilterGpg.py
App, lib, cmds: Fix mypy.explicit-override fallout
2026-08-07 18:02:26 +02:00
ProjectConf.py
lib.ProjectConf: Add module
2026-06-30 12:46:36 +02:00
Result.py
App, cmds, lib: Fix Any returns from typed functions
2026-08-09 12:07:37 +00:00
TarIo.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
Types.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
Uri.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00
util.py
py-check.mk: Run isort with "make format"
2026-08-11 16:45:14 +02:00