scripts: gen_gcov_files.py: add argument help text

Convert the description comment at the top of the file to a
documentation string. That string then maybe viewed with the --help
argument. Also, rework a bit the documentation string: remove usage,
since that is provided by the help message of the argparse module.

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
Ruslan Mstoi 2020-06-03 18:05:30 +03:00 committed by Anas Nashif
parent 69b07e3156
commit e406c9c448
1 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# This script will parse the serial console log file and create the required
# gcda files. """This script will parse the serial console log file and create the required
# Usage python3 ${ZEPHYR_BASE}/scripts/gen_gcov_files.py -i console_output.log gcda files.
# Add -v for verbose """
import argparse import argparse
import os import os