add get_display_name to ExitCommand

This commit is contained in:
JohniFi 2025-03-31 16:34:51 +02:00
parent 5b2963fc46
commit 7a7e379310

View file

@ -3484,6 +3484,9 @@ class ExitCommand(_COMMAND_DEFAULT_CLASS):
# No shorthand error message. Call hook.
self.obj.at_failed_traverse(self.caller)
def get_display_name(self, looker=None, **kwargs):
return self.obj.get_display_name(looker, **kwargs)
def get_extra_info(self, caller, **kwargs):
"""
Shows a bit of information on where the exit leads.