This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 0c8975253f3f51b43efc99e20525b722808bddda
Author: Simon McVittie <s...@debian.org>
Date:   Fri Oct 14 12:11:16 2016 +0100

    Launcher: add stub --version argument
---
 runtime/launcher.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/runtime/launcher.py b/runtime/launcher.py
index 4cc5d18..808bdd6 100755
--- a/runtime/launcher.py
+++ b/runtime/launcher.py
@@ -31,6 +31,8 @@ import traceback
 import gi
 from gi.repository import (GLib, GObject)
 
+__version__ = '(uninstalled)'
+
 if 'GDP_UNINSTALLED' in os.environ:
     RUNTIME_BUILT = './out'
     RUNTIME_SOURCE = './runtime'
@@ -194,6 +196,8 @@ class Launcher:
                 help='run engine under a debugger')
         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__)
         parser.add_argument('arguments', nargs=argparse.REMAINDER,
                 help='arguments for the launched game')
         self.args, rest = parser.parse_known_args(argv)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to