[pacman-dev] [PATCH 3/3] Refactor display_targets to not be recursive