Hide the "shell-device-autocompletion" option without deprecation
This commit is contained in:
parent
fbe37092eb
commit
d9b5a4ce91
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
//Hidden because it's an implementation detail
|
//Hidden because it's an implementation detail
|
||||||
QCommandLineOption deviceAutocomplete(QStringLiteral("shell-device-autocompletion"));
|
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.setDescription(QStringLiteral("Outputs all available devices id's with their name and paired status")); //Not visible, so no translation needed
|
||||||
deviceAutocomplete.setValueName(QStringLiteral("shell"));
|
deviceAutocomplete.setValueName(QStringLiteral("shell"));
|
||||||
parser.addOption(deviceAutocomplete);
|
parser.addOption(deviceAutocomplete);
|
||||||
|
|
Loading…
Reference in a new issue