cli: improve help text for download-logs --match

Update the --help text to clarify that --match will match log filenames,
not log contents, and the matching algorithm is fnmatch.
This commit is contained in:
Ken Dreyer 2021-07-16 16:04:58 -04:00 committed by Tomas Kopecek
parent 0837acdf67
commit 241f4874e8

View file

@ -7130,7 +7130,7 @@ def anon_handle_download_logs(options, session, args):
parser.add_option("--nvr", action="store_true",
help=_("Get the logs for the task associated with this build Name-Version-Release."))
parser.add_option("-m", "--match", action="append", metavar="PATTERN",
help=_("Get only log matching PATTERN. May be used multiple times."))
help=_("Get only log filenames matching PATTERN (fnmatch). May be used multiple times."))
parser.add_option("-c", "--continue", action="store_true", dest="cont",
help=_("Continue previous download"))
parser.add_option("-d", "--dir", metavar="DIRECTORY", default='kojilogs',