Commit 6b67368e authored by juga's avatar juga
Browse files

Support raw text on command description

parent 54b00da7
......@@ -4,7 +4,7 @@ import sbws.core.generate
import sbws.core.stats
from sbws import __version__
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
from argparse import ArgumentParser, RawTextHelpFormatter
import os
......@@ -14,7 +14,7 @@ def _default_dot_sbws_dname():
def create_parser():
p = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter)
p = ArgumentParser(formatter_class=RawTextHelpFormatter)
p.add_argument(
'--version', action='version', help='sbws version',
version='{}'.format(__version__))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment