diff --git a/crmsh/cibconfig.py b/crmsh/cibconfig.py index 51eaa311cd..3f8eff1899 100644 --- a/crmsh/cibconfig.py +++ b/crmsh/cibconfig.py @@ -3231,7 +3231,8 @@ def filter_objects(self, filters): continue if spec == "changed": obj_set |= orderedset.oset(self.modified_elems()) - obj_set |= orderedset.oset(self.remove_queue) + if "from_show" in filters: + obj_set |= orderedset.oset(self.remove_queue) elif spec.startswith("type:"): obj_set |= orderedset.oset(self.get_elems_on_type(spec)) elif spec.startswith("tag:"): diff --git a/crmsh/ui_configure.py b/crmsh/ui_configure.py index e3fced4c40..253471ab43 100644 --- a/crmsh/ui_configure.py +++ b/crmsh/ui_configure.py @@ -551,6 +551,8 @@ def do_show(self, context, *args): from .utils import obscure osargs = [arg[8:] for arg in args if arg.startswith('obscure:')] args = [arg for arg in args if not arg.startswith('obscure:')] + if "changed" in args: + args.append("from_show") with obscure(osargs): set_obj = mkset_obj(*args) return set_obj.show()