scripts: file2hex.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. Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
parent
7239dc1cbd
commit
1bae76770b
1 changed files with 7 additions and 3 deletions
|
@ -4,9 +4,13 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# This converts a file to a list of hex characters which can then
|
|
||||||
# be included to a source file.
|
"""Convert a file to a list of hex characters
|
||||||
# Optionally, the output can be compressed if needed.
|
|
||||||
|
The list of hex characters can then be included to a source file. Optionally,
|
||||||
|
the output can be compressed.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import codecs
|
import codecs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue