From afd93970f856a2018fd293da48c5706523cf2133 Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 13 Sep 2023 09:58:59 +0200 Subject: [PATCH] Use the same Find function in "show" as in "show --jekyll" (#1452) This fixes #1402. --- src/alr/alr-commands-show.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alr/alr-commands-show.adb b/src/alr/alr-commands-show.adb index ebaff44f..4730cd8a 100644 --- a/src/alr/alr-commands-show.adb +++ b/src/alr/alr-commands-show.adb @@ -230,7 +230,7 @@ package body Alr.Commands.Show is Rel : constant Alire.Releases.Release := (if Current then Cmd.Root.Release - else Query.Find (Name, Versions, Query_Policy)); + else Cmd.Find_Target_Release (Name, Versions, Current)); begin Put_Line ("---"); Put_Line ("layout: crate"); -- 2.39.5