summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-02-16 20:41:35 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-02-16 20:41:35 +0100
commitc9a89dad87ca3fc7786fc6280397e3f43e894171 (patch)
tree27080f41c2e1b7bc18936163113acb3937b73a66
parenta657d472cd164d4a0134e0bf16ed18dc0349d277 (diff)
downloadpoezio-c9a89dad87ca3fc7786fc6280397e3f43e894171.tar.gz
poezio-c9a89dad87ca3fc7786fc6280397e3f43e894171.tar.bz2
poezio-c9a89dad87ca3fc7786fc6280397e3f43e894171.tar.xz
poezio-c9a89dad87ca3fc7786fc6280397e3f43e894171.zip
Revert the --version thing, it is not supposed to display the software version
-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