diff --git a/src/lib/synergy/ArgParser.cpp b/src/lib/synergy/ArgParser.cpp index 6d6935a7..92185b26 100644 --- a/src/lib/synergy/ArgParser.cpp +++ b/src/lib/synergy/ArgParser.cpp @@ -204,7 +204,7 @@ ArgParser::parseToolArgs(ToolArgs& args, int argc, const char* const* argv) return true; } else if (isArg(i, argc, argv, NULL, "--get-subscription-filename", 0)) { - args.m_printSubscriptionFilename = true; + args.m_getSubscriptionFilename = true; return true; } else if (isArg(i, argc, argv, NULL, "--check-subscription", 0)) { diff --git a/src/lib/synergy/ToolApp.cpp b/src/lib/synergy/ToolApp.cpp index 4edc5423..5f01cb81 100644 --- a/src/lib/synergy/ToolApp.cpp +++ b/src/lib/synergy/ToolApp.cpp @@ -97,7 +97,7 @@ ToolApp::run(int argc, char** argv) return kExitSubscription; } } - else if (m_args.m_printSubscriptionFilename) { + else if (m_args.m_getSubscriptionFilename) { try { SubscriptionManager subscriptionManager; subscriptionManager.printFilename(); diff --git a/src/lib/synergy/ToolArgs.cpp b/src/lib/synergy/ToolArgs.cpp index 3bbe028b..0fd68a92 100644 --- a/src/lib/synergy/ToolArgs.cpp +++ b/src/lib/synergy/ToolArgs.cpp @@ -25,7 +25,7 @@ ToolArgs::ToolArgs() : m_getInstalledDir(false), m_getProfileDir(false), m_getArch(false), - m_printSubscriptionFilename(false), + m_getSubscriptionFilename(false), m_checkSubscription(false), m_subscriptionSerial() { diff --git a/src/lib/synergy/ToolArgs.h b/src/lib/synergy/ToolArgs.h index 543b286c..ffbf932e 100644 --- a/src/lib/synergy/ToolArgs.h +++ b/src/lib/synergy/ToolArgs.h @@ -31,7 +31,7 @@ public: bool m_getInstalledDir; bool m_getProfileDir; bool m_getArch; - bool m_printSubscriptionFilename; + bool m_getSubscriptionFilename; bool m_checkSubscription; String m_subscriptionSerial; };