diff options
Diffstat (limited to 'docs/features')
-rw-r--r-- | docs/features/hooks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/features/hooks.rst b/docs/features/hooks.rst index 4c615586..d05e2638 100644 --- a/docs/features/hooks.rst +++ b/docs/features/hooks.rst @@ -311,7 +311,7 @@ command finalization hook:: self.register_cmdfinalization_hook(self.myhookmethod) def myhookmethod(self, data: cmd2.plugin.CommandFinalizationData) -> cmd2.plugin.CommandFinalizationData: - return stop + return data Command Finalization hooks must check whether the :data:`~cmd2.plugin.CommandFinalizationData.statement` attribute of the passed |