Show the * symbol in addition to the % symbol when the flags state transitions from...
authorZac Medico <zmedico@gentoo.org>
Sat, 26 Aug 2006 23:27:39 +0000 (23:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 26 Aug 2006 23:27:39 +0000 (23:27 -0000)
svn path=/main/trunk/; revision=4346

bin/emerge

index 21be7a08711ee3f3e9b10f891d7d6447bdf613cd..a0e81e6276a897d8fd88f8465cfe7ee1fcd80ea4 100755 (executable)
@@ -1328,11 +1328,16 @@ class depgraph:
                                                        flag_str = red(flag)
                                                elif flag not in old_iuse:
                                                        flag_str = yellow(flag) + "%"
+                                                       if flag not in old_use:
+                                                               flag_str += "*"
                                                elif flag not in old_use:
                                                        flag_str = green(flag) + "*"
                                        elif flag in removed_iuse:
                                                if all_flags:
-                                                       removed.append(yellow("!" + flag) + "%")
+                                                       flag_str = yellow("!" + flag) + "%"
+                                                       if flag in old_use:
+                                                               flag_str += "*"
+                                                       removed.append(flag_str)
                                                continue
                                        else:
                                                if is_new or flag in old_iuse and flag not in old_use and all_flags: