print version on --version switch

This commit is contained in:
fourtf
2019-10-07 18:57:33 +02:00
parent 05bcf22af4
commit 594c0fb255
4 changed files with 17 additions and 1 deletions
+3
View File
@@ -1,5 +1,7 @@
#pragma once
#include <QStringList>
namespace chatterino {
/// Command line arguments passed to Chatterino.
@@ -8,6 +10,7 @@ class Args
public:
Args(const QStringList &args);
bool printVersion{};
bool crashRecovery{};
};