Commit f10f7d27 authored by Philipp Hörist's avatar Philipp Hörist

Bring back lost --version command

parent cf7ba8d7
......@@ -40,6 +40,7 @@ from urllib.parse import unquote
from gi.repository import GLib, Gio, Gtk
import gajim
from gajim.common import app
from gajim.common import configpaths
from gajim.common import logging_helpers
......@@ -304,6 +305,9 @@ class GajimApplication(Gtk.Application):
application: Gtk.Application,
options: GLib.VariantDict) -> int:
# Parse all options that have to be executed before ::startup
if options.contains('version'):
return 0
if options.contains('profile'):
# Incorporate profile name into application id
# to have a single app instance for each profile.
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