summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 07b9d46bc..edccaf4fc 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3133,7 +3133,8 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
#we're done... return
return 0
if "--ask" in myopts:
- if userquery("Would you like to unmerge these packages?")=="No":
+ if userquery("Would you like to unmerge these packages?",
+ responses=["No", "Yes"], colours=[red, green]) == "No":
# enter pretend mode for correct formatting of results
myopts["--pretend"] = True
print