diff --git a/volatility/cli/__init__.py b/volatility/cli/__init__.py index dd247006a..07765266e 100644 --- a/volatility/cli/__init__.py +++ b/volatility/cli/__init__.py @@ -88,7 +88,8 @@ class CommandLine(interfaces.plugins.FileConsumerInterface): renderers = dict([(x.name.lower(), x) for x in framework.class_subclasses(text_renderer.CLIRenderer)]) - parser = volargparse.HelpfulArgParser(prog = 'volatility', + parser = volargparse.HelpfulArgParser(add_help=False, + prog = 'volatility', description = "An open-source memory forensics framework") parser.add_argument("-c", "--config", @@ -149,6 +150,9 @@ class CommandLine(interfaces.plugins.FileConsumerInterface): help = "Clears out all short-term cached items", default = False, action = 'store_true') + parser.add_argument("-h", "--help", action="help", default=argparse.SUPPRESS, + help="Show this help message and exit. Use: volatility --help for help on a " + "specific plugin.") # We have to filter out help, otherwise parse_known_args will trigger the help message before having # processed the plugin choice or had the plugin subparser added.