Skip to content

Commit

Permalink
Update help text for '--format' option in 'results' command
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Jun 18, 2024
1 parent daba731 commit 43093c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 43093c3

Please sign in to comment.