Commit c76800de authored by Louis's avatar Louis
Browse files

Merge branch 'develop' into jinja2

parents 8796c5c7 0727dca3
......@@ -109,4 +109,3 @@ Description complète
.. argparse::
:module: pyromaths.cli.test.__main__
:func: argument_parser
:prog: pyromaths.cli.test.__main__.py
......@@ -44,7 +44,9 @@ VERSION = "0.1.0"
def argument_parser():
"""Return an argument parser"""
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(
prog='pyromaths-cli',
)
parser.add_argument(
'-v', '--version',
action='version',
......
......@@ -61,7 +61,9 @@ def ask_confirm(message):
def argument_parser():
"""Return an argument parser"""
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(
prog="pyromaths-cli test",
)
parser.add_argument(
'-v', '--version',
action='version',
......
Markdown is supported
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