From 533e5147fe5518973e60c19cf1e7680eecbf2ed4 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Fri, 3 Jun 2016 14:54:15 -0700 Subject: [PATCH] Use the description for the help --- pwndbg/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/__init__.py b/pwndbg/commands/__init__.py index 559f52ecc..8aebe0d47 100644 --- a/pwndbg/commands/__init__.py +++ b/pwndbg/commands/__init__.py @@ -155,5 +155,5 @@ class ArgparsedCommand(object): # If passing '-h' or '--help', argparse attempts to kill the process. return return function(**vars(args)) - _ArgparsedCommand.__doc__ = self.parser.format_usage().strip() + _ArgparsedCommand.__doc__ = self.parser.description return Command(_ArgparsedCommand)