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;
|
return true;
|
||||||
}
|
}
|
||||||
else if (isArg(i, argc, argv, NULL, "--get-subscription-filename", 0)) {
|
else if (isArg(i, argc, argv, NULL, "--get-subscription-filename", 0)) {
|
||||||
args.m_printSubscriptionFilename = true;
|
args.m_getSubscriptionFilename = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (isArg(i, argc, argv, NULL, "--check-subscription", 0)) {
|
else if (isArg(i, argc, argv, NULL, "--check-subscription", 0)) {
|
||||||
|
|
|
@ -97,7 +97,7 @@ ToolApp::run(int argc, char** argv)
|
||||||
return kExitSubscription;
|
return kExitSubscription;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (m_args.m_printSubscriptionFilename) {
|
else if (m_args.m_getSubscriptionFilename) {
|
||||||
try {
|
try {
|
||||||
SubscriptionManager subscriptionManager;
|
SubscriptionManager subscriptionManager;
|
||||||
subscriptionManager.printFilename();
|
subscriptionManager.printFilename();
|
||||||
|
|
|
@ -25,7 +25,7 @@ ToolArgs::ToolArgs() :
|
||||||
m_getInstalledDir(false),
|
m_getInstalledDir(false),
|
||||||
m_getProfileDir(false),
|
m_getProfileDir(false),
|
||||||
m_getArch(false),
|
m_getArch(false),
|
||||||
m_printSubscriptionFilename(false),
|
m_getSubscriptionFilename(false),
|
||||||
m_checkSubscription(false),
|
m_checkSubscription(false),
|
||||||
m_subscriptionSerial()
|
m_subscriptionSerial()
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ public:
|
||||||
bool m_getInstalledDir;
|
bool m_getInstalledDir;
|
||||||
bool m_getProfileDir;
|
bool m_getProfileDir;
|
||||||
bool m_getArch;
|
bool m_getArch;
|
||||||
bool m_printSubscriptionFilename;
|
bool m_getSubscriptionFilename;
|
||||||
bool m_checkSubscription;
|
bool m_checkSubscription;
|
||||||
String m_subscriptionSerial;
|
String m_subscriptionSerial;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue