From 43093c3ee06cc30640f102eabec4b044aa10291c Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Tue, 18 Jun 2024 09:22:48 +0200 Subject: [PATCH] Update help text for '--format' option in 'results' command --- osc/commandline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index d6d13d771..c957d577a 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6055,7 +6055,10 @@ def do_rremove(self, subcmd, opts): @cmdln.option('', '--csv', action='store_true', default=False, help='generate output in CSV format') @cmdln.option('', '--format', default=None, - help='format string for default or csv output (not supported for xml)') + help="Change the format of the text (default) or csv output. Not supported for xml output.\n" + "Supported fields: project, package, repository, arch, state, dirty, code, details.\n" + "Text output format requires using the field names in form of named fields for string interpolation: ``%%(field)s``.\n" + "CSV output format requires field names separated with commas.") @cmdln.option('--show-excluded', action='store_true', help='show repos that are excluded for this package') def do_results(self, subcmd, opts, *args):