Hide the "shell-device-autocompletion" option without deprecation

This commit is contained in:
Matthijs Tijink 2019-07-19 20:11:49 +00:00 committed by Nicolas Fella
parent fbe37092eb
commit d9b5a4ce91

View file

@ -77,7 +77,7 @@ int main(int argc, char** argv)
//Hidden because it's an implementation detail
QCommandLineOption deviceAutocomplete(QStringLiteral("shell-device-autocompletion"));
deviceAutocomplete.setHidden(true);
deviceAutocomplete.setFlags(QCommandLineOption::HiddenFromHelp);
deviceAutocomplete.setDescription(QStringLiteral("Outputs all available devices id's with their name and paired status")); //Not visible, so no translation needed
deviceAutocomplete.setValueName(QStringLiteral("shell"));
parser.addOption(deviceAutocomplete);