mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-03 05:38:45 +02:00
Volshell: improve help function if arguments are used.
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user