From 2f8b22685065f25183133431502322decede6371 Mon Sep 17 00:00:00 2001 From: Trae Santiago Date: Thu, 14 Dec 2023 05:42:48 -0600 Subject: T5827: made show system image alphabetical --- src/op_mode/image_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/op_mode/image_manager.py b/src/op_mode/image_manager.py index e75485f9f..e1c788940 100755 --- a/src/op_mode/image_manager.py +++ b/src/op_mode/image_manager.py @@ -157,6 +157,8 @@ def rename_image(name_old: str, name_new: str) -> None: def list_images() -> None: """Print list of available images for CLI hints""" images_list: list[str] = grub.version_list() + image_list.sort() + for image_name in images_list: print(image_name) -- cgit v1.2.3