From a4fa9595f540b1e86f35b159f7666791c6a23789 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Fri, 3 Jan 2025 15:48:28 -0500 Subject: [PATCH] tweak error message --- cli/koji_cli/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 81c53a42..29b6e0a6 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -6851,7 +6851,9 @@ def anon_handle_download_build(options, session, args): if suboptions.task_id: builds = session.listBuilds(taskID=build) if not builds: - error("No associated builds for task %s" % build) + error("No associated builds for task %s" + "\nIf this is a scratch build, try using download-task instead" + % build) build = builds[0]['build_id'] if suboptions.latestfrom: