aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 09:16:36 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-23 09:16:36 +0100
commit4a539afd045ae0ddc36f4c28601bd94f0d66e57c (patch)
tree7bec9a5fb61f6941f628000bbc18f7a8ae8588c9
parent710bda9da8c650dc63c5ceb5c1a161e75deff194 (diff)
downloadpaludis-4a539afd045ae0ddc36f4c28601bd94f0d66e57c.tar.gz
paludis-4a539afd045ae0ddc36f4c28601bd94f0d66e57c.tar.xz
Fix display-resolution --show-option-descriptions
Fixes: ticket:970
-rw-r--r--src/clients/cave/cmd_display_resolution.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 50505c9..b7b8150 100644
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -620,9 +620,9 @@ namespace
if (cmdline.display_options.a_show_option_descriptions.argument() == "none")
show_description = false;
else if (cmdline.display_options.a_show_option_descriptions.argument() == "new")
- show_description = ! old_id;
- else if (cmdline.display_options.a_show_option_descriptions.argument() == "changed")
show_description = added || ! old_id;
+ else if (cmdline.display_options.a_show_option_descriptions.argument() == "changed")
+ show_description = added || changed || ! old_id;
else if (cmdline.display_options.a_show_option_descriptions.argument() == "all")
show_description = true;
else