Rename a variable
This commit is contained in:
parent
1f54dd2d3b
commit
85ef7935cc
|
@ -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)) {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue