From 56b65e43de85a18624918a69f9bf936970361d8c Mon Sep 17 00:00:00 2001 From: Ruslan Mstoi Date: Tue, 19 May 2020 14:28:37 +0300 Subject: [PATCH] scripts: gen_offset_header: add argument help text Help text is set to documentation string of the script. Signed-off-by: Ruslan Mstoi --- scripts/gen_offset_header.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gen_offset_header.py b/scripts/gen_offset_header.py index 82152fbb42f..11cb7227f78 100755 --- a/scripts/gen_offset_header.py +++ b/scripts/gen_offset_header.py @@ -61,6 +61,7 @@ def gen_offset_header(input_name, input_file, output_file): if __name__ == '__main__': parser = argparse.ArgumentParser( + description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument(