scripts: gen_offset_header: add argument help text

Help text is set to documentation string of the script.

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
Ruslan Mstoi 2020-05-19 14:28:37 +03:00 committed by Carles Cufí
commit 56b65e43de

View file

@ -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(