From 19c2769c1b597c4c9c1b1cc612c9517d7d9ad84f Mon Sep 17 00:00:00 2001 From: Tomasz Golinski Date: Sun, 2 Feb 2020 12:28:41 +0100 Subject: [PATCH] Print sorted list of caches with geostat_cli --- geostat_cli.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geostat_cli.cpp b/geostat_cli.cpp index d3ead69..e9fa3dc 100644 --- a/geostat_cli.cpp +++ b/geostat_cli.cpp @@ -280,8 +280,8 @@ int main(int argc, char** argv) { } if (show_list) { - for (auto el : cc) - el.show(); + for (auto el : sorted_caches) + el.second->show(); } if (!get_not_found) {