Rename a variable

This commit is contained in:
Jerry (Xinyu Hou) 2015-10-22 16:04:05 -07:00
parent 1f54dd2d3b
commit 85ef7935cc
4 changed files with 4 additions and 4 deletions

View File

@ -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)) {

View File

@ -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();

View File

@ -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()
{

View File

@ -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;
};