diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-10-23 12:39:16 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2014-10-28 15:52:22 +0100 |
commit | 3d5e24dad65a853a6b8db0f0168a50f7aede8184 (patch) | |
tree | cfe393d6389a609028c91d10c33b500c9640cfe0 /src/sdk/constants.h | |
parent | 67ddd6b22bd26293b6c487420be7062789b4301d (diff) |
Add --framework-version argument
This prints the version number of the Qt Installer Framework. In contrast
to the more verbose '--version' argument it can be used safely by
other applications to check for the version.
Also, we might at one point decide to give the IFW user control of the
--version output: He might want to run his own version scheme to also
take into account the packaged content.
Change-Id: Ia609310659ac45c5acffe318ecb6480eeb419ee8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/sdk/constants.h')
-rw-r--r-- | src/sdk/constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdk/constants.h b/src/sdk/constants.h index 6c37fe5b9..1d4f5b5e8 100644 --- a/src/sdk/constants.h +++ b/src/sdk/constants.h @@ -40,6 +40,7 @@ namespace CommandLineOptions { const char HelpShort[] = "h"; const char HelpLong[] = "help"; const char Version[] = "version"; +const char FrameworkVersion[] = "framework-version"; const char VerboseShort[] = "v"; const char VerboseLong[] = "verbose"; const char Proxy[] = "proxy"; |