From 241f4874e8a79261d3f1e312ecc6ed32bc587b90 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Aug 16 2021 11:51:01 +0000 Subject: 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. --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 8660cdc..66369bb 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -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',