other reporting tools py2/py3 compatibiliies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys,os,re
|
||||
from argparse import ArgumentParser
|
||||
from argparse import ArgumentParser, RawDescriptionHelpFormatter
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
|
||||
import ansi
|
||||
|
||||
@@ -16,12 +16,13 @@ def setup_options():
|
||||
usage = '''
|
||||
Markdown syntax color in ansi codes.
|
||||
Special syntaxes:
|
||||
Colors: insert string ${C}, where C is one of %s.
|
||||
Any ANSI control code: ${3A}, ${1;34;42m}, etc..
|
||||
- Colors: insert string e.g. ${C}.
|
||||
- Any ANSI control code: ${3A}, ${1;34;42m}, see the table..
|
||||
|
||||
'''%(" ".join(bc.get_keys()))
|
||||
''' + ansi.demo()
|
||||
|
||||
parser = ArgumentParser(
|
||||
formatter_class = RawDescriptionHelpFormatter,
|
||||
description = usage,
|
||||
epilog = __author__
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user