[PATCH v3 4/4] kas: Drop useless subparser help string

1 view
Skip to first unread message

Jan Kiszka

unread,
Jun 22, 2026, 1:20:21 PMJun 22
to kas-...@googlegroups.com, Felix Moessbauer
From: Jan Kiszka <jan.k...@siemens.com>

This does not format the command line help nicer, and it even causes
confusion in the generated docs which are split between core and
plugins.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
kas/kas.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas/kas.py b/kas/kas.py
index 0fffaa3..b87b404 100644
--- a/kas/kas.py
+++ b/kas/kas.py
@@ -163,7 +163,7 @@ def kas_get_argparser():
default=f'{DEFAULT_LOG_LEVEL}',
help=f'Set log level (default: {DEFAULT_LOG_LEVEL})')

- subparser = parser.add_subparsers(help='sub command help', dest='cmd')
+ subparser = parser.add_subparsers(dest='cmd')

for plugin in plugins.all():
plugin_parser = subparser.add_parser(
--
2.47.3

Reply all
Reply to author
Forward
0 new messages