From 6a43cd4593ac5a8f2d2f3dda53121469cd60da8d Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 23 Sep 2019 23:59:54 +0100 Subject: [PATCH] Volshell: improve help function if arguments are used. --- volatility/cli/volshell/generic.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/volatility/cli/volshell/generic.py b/volatility/cli/volshell/generic.py index 4b7a86f57..f145e79a7 100644 --- a/volatility/cli/volshell/generic.py +++ b/volatility/cli/volshell/generic.py @@ -75,8 +75,12 @@ class Volshell(interfaces.plugins.PluginInterface, interfaces.plugins.FileConsum return renderers.TreeGrid([("Terminating", str)], None) - def help(self): + def help(self, *args): """Describes the available commands""" + if args: + help(*args) + return + variables = [] print("\nMethods:") for aliases, item in self.construct_locals():