From e406c9c4485651f5be05dd2a258caf0657c5826e Mon Sep 17 00:00:00 2001 From: Ruslan Mstoi Date: Wed, 3 Jun 2020 18:05:30 +0300 Subject: [PATCH] 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 --- scripts/gen_gcov_files.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/gen_gcov_files.py b/scripts/gen_gcov_files.py index ada42fc7a00..f4837c00b25 100755 --- a/scripts/gen_gcov_files.py +++ b/scripts/gen_gcov_files.py @@ -4,10 +4,10 @@ # # SPDX-License-Identifier: Apache-2.0 -# This script will parse the serial console log file and create the required -# gcda files. -# Usage python3 ${ZEPHYR_BASE}/scripts/gen_gcov_files.py -i console_output.log -# Add -v for verbose + +"""This script will parse the serial console log file and create the required +gcda files. +""" import argparse import os