summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/args.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/args.py b/src/args.py
index 95acbfd6..637d3158 100644
--- a/src/args.py
+++ b/src/args.py
@@ -19,7 +19,8 @@ def parse_args(CONFIG_PATH=''):
parser.add_argument("-d", "--debug", dest="debug",
help=_("The file where debug will be written"),
metavar="DEBUG_FILE")
- parser.add_argument("-v", "--version", action="version",
- version="0.9-dev")
+ parser.add_argument("-v", "--version", dest="version",
+ help=SUPPRESS, metavar="VERSION",
+ default="0.9-dev")
options = parser.parse_args()
return options