Commit 80cd4d2d authored by Lukas Riedel's avatar Lukas Riedel

Add copyright notice to CLI help message epilog

parent af9341dc
......@@ -10,10 +10,18 @@ def create_cl_parser():
Returns:
ArgumentParser object for parsing the command line.
"""
parser = argparse.ArgumentParser(description="DORiE Command Line Interface",
epilog="For more information check our online documentation: "
"http://dorie-doc.netlify.com."
)
parser = argparse.ArgumentParser(
description="DORiE Command Line Interface\n"
"For more information check our online documentation: "
"http://dorie-doc.netlify.com.",
epilog="DORiE Copyright (C) 2019 DORiE Developers\n"
"This program comes with ABSOLUTELY NO WARRANTY.\n"
"This is free software, and you are welcome to redistribute it\n"
"under certain conditions; refer to the files LICENSE and\n"
"COPYING.md in the source code repository for details.",
formatter_class=argparse.RawDescriptionHelpFormatter
)
subparsers = parser.add_subparsers(title="Commands", dest="command")
subparsers.required = True
......@@ -79,4 +87,4 @@ def create_cl_parser():
help="Plot only given variables. If not specified, all variables are plotted.")
parser_plot.set_defaults(func=plot)
return parser
\ No newline at end of file
return parser
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