Commit 176137e8 authored by Philipp Winter's avatar Philipp Winter
Browse files

Add command line switch to show version number.

The version number is in the format YEAR.MONTH.DAY because it's easy to
figure out how old a release is by just looking at the version number.
parent c8c3778d
......@@ -164,6 +164,9 @@ def parse_cmd_args():
"is used as first hop. This relay should be "
"under your control.")
parser.add_argument("-V", "--version", action="version",
version="%(prog)s 2015.04.06")
parser.add_argument("module", nargs='+',
help="Run the given module (available: %s)." %
", ".join(get_modules()))
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