summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/CommandLineParse.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-09-10 08:02:48 +0200
committerGitHub <noreply@github.com>2017-09-10 08:02:48 +0200
commitee51ba639908ccbb13c3389344d17d3bbae2da1a (patch)
tree02ccf253c0a7196dbcafd99524c07801d42c4791 /Source/Core/UICommon/CommandLineParse.cpp
parente86713ca6726393f4b5a2dd2240b79828d6fcb4b (diff)
parent696e1b40b58ee1ef9340ceac02059abbe63f3120 (diff)
Merge pull request #6047 from lioncash/version
Common: Move version strings to their own header
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
-rw-r--r--Source/Core/UICommon/CommandLineParse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp
index 750ec245dd..0620277853 100644
--- a/Source/Core/UICommon/CommandLineParse.cpp
+++ b/Source/Core/UICommon/CommandLineParse.cpp
@@ -9,8 +9,8 @@
#include <OptionParser.h>
-#include "Common/Common.h"
#include "Common/Config/Config.h"
+#include "Common/Version.h"
#include "UICommon/CommandLineParse.h"
namespace CommandLineParse
@@ -64,7 +64,7 @@ private:
std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options)
{
auto parser = std::make_unique<optparse::OptionParser>();
- parser->usage("usage: %prog [options]... [FILE]...").version(scm_rev_str);
+ parser->usage("usage: %prog [options]... [FILE]...").version(Common::scm_rev_str);
parser->add_option("-u", "--user").action("store").help("User folder path");
parser->add_option("-m", "--movie").action("store").help("Play a movie file");