mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 06:32:57 +02:00
Rename arguments for more clarity
This commit is contained in:
parent
b05dd3443d
commit
1de6e6d418
2 changed files with 6 additions and 6 deletions
|
@ -1062,14 +1062,14 @@ void Application::initializePluginManager(const QCommandLineParser& parser) {
|
|||
PluginManager::getInstance()->setPreferredDisplayPlugins(preferredDisplays);
|
||||
}
|
||||
|
||||
if (parser.isSet("disableDisplays")) {
|
||||
auto disabledDisplays = parser.value("disableDisplays").split(',', Qt::SkipEmptyParts);
|
||||
if (parser.isSet("disableDisplayPlugins")) {
|
||||
auto disabledDisplays = parser.value("disableDisplayPlugins").split(',', Qt::SkipEmptyParts);
|
||||
qInfo() << "Disabling following display plugins:" << disabledDisplays;
|
||||
PluginManager::getInstance()->disableDisplays(disabledDisplays);
|
||||
}
|
||||
|
||||
if (parser.isSet("disableInputs")) {
|
||||
auto disabledInputs = parser.value("disableInputs").split(',', Qt::SkipEmptyParts);
|
||||
if (parser.isSet("disableInputPlugins")) {
|
||||
auto disabledInputs = parser.value("disableInputPlugins").split(',', Qt::SkipEmptyParts);
|
||||
qInfo() << "Disabling following input plugins:" << disabledInputs;
|
||||
PluginManager::getInstance()->disableInputs(disabledInputs);
|
||||
}
|
||||
|
|
|
@ -142,12 +142,12 @@ int main(int argc, const char* argv[]) {
|
|||
"displays"
|
||||
);
|
||||
QCommandLineOption disableDisplaysOption(
|
||||
"disableDisplays",
|
||||
"disableDisplayPlugins",
|
||||
"Displays to disable. Valid options include \"OpenVR (Vive)\" and \"Oculus Rift\"",
|
||||
"string"
|
||||
);
|
||||
QCommandLineOption disableInputsOption(
|
||||
"disableInputs",
|
||||
"disableInputPlugins",
|
||||
"Inputs to disable. Valid options include \"OpenVR (Vive)\" and \"Oculus Rift\"",
|
||||
"string"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue