dissect: right-align size column in --discover table
authorLennart Poettering <lennart@poettering.net>
Wed, 15 Nov 2023 21:14:36 +0000 (22:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Nov 2023 21:51:37 +0000 (22:51 +0100)
src/dissect/dissect.c

index e232e4f..1854d43 100644 (file)
@@ -1654,6 +1654,8 @@ static int action_discover(void) {
         if (!t)
                 return log_oom();
 
+        table_set_align_percent(t, table_get_cell(t, 0, 6), 100);
+
         HASHMAP_FOREACH(img, images) {
 
                 if (!IN_SET(img->type, IMAGE_RAW, IMAGE_BLOCK))