pydisasm fixes

This commit is contained in:
rocky
2018-02-15 07:33:51 -05:00
parent e92c2503d1
commit 657d5ef024

View File

@@ -12,8 +12,8 @@ program, ext = os.path.splitext(os.path.basename(__file__))
__doc__ = """ __doc__ = """
Usage: Usage:
{0} [OPTIONS]... FILE %s [OPTIONS]... FILE
{0} [--help | -h | -V | --version] %s [--help | -h | -V | --version]
Disassemble FILE with the instruction mangling that is done to Disassemble FILE with the instruction mangling that is done to
assist uncompyle6 in parsing the instruction stream. For example assist uncompyle6 in parsing the instruction stream. For example
@@ -22,9 +22,9 @@ BUILD_LIST have arguement counts appended to the instruction name, and
COME_FROM instructions are inserted into the instruction stream. COME_FROM instructions are inserted into the instruction stream.
Examples: Examples:
{0} foo.pyc %s foo.pyc
{0} foo.py # same thing as above but find the file %s foo.py # same thing as above but find the file
{0} foo.pyc bar.pyc # disassemble foo.pyc and bar.pyc %s foo.pyc bar.pyc # disassemble foo.pyc and bar.pyc
See also `pydisasm' from the `xdis' package. See also `pydisasm' from the `xdis' package.
@@ -32,7 +32,7 @@ Options:
-V | --version show version and stop -V | --version show version and stop
-h | --help show this message -h | --help show this message
""" % (program, program) """ % ((program,) * 5)
PATTERNS = ('*.pyc', '*.pyo') PATTERNS = ('*.pyc', '*.pyo')