Commit e13bba25 authored by Simon McVittie's avatar Simon McVittie

Launcher: fix --version

parent 25fc7e0e
......@@ -200,7 +200,7 @@ class Launcher:
parser.add_argument('--quiet', '-q', default=False, action='store_true',
help='silence console logging')
parser.add_argument('--version', action='version',
version='game-data-packager launcher ' + __version__)
version='game-data-packager launcher ' + GAME_PACKAGE_VERSION)
parser.add_argument('arguments', nargs=argparse.REMAINDER,
help='arguments for the launched game')
self.args, rest = parser.parse_known_args(argv)
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