From d9b5a4ce913b6d8961b2715639f17052a087b6b8 Mon Sep 17 00:00:00 2001 From: Matthijs Tijink Date: Fri, 19 Jul 2019 20:11:49 +0000 Subject: [PATCH] Hide the "shell-device-autocompletion" option without deprecation --- cli/kdeconnect-cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/kdeconnect-cli.cpp b/cli/kdeconnect-cli.cpp index 5cfa88c4b..40dd6c50e 100644 --- a/cli/kdeconnect-cli.cpp +++ b/cli/kdeconnect-cli.cpp @@ -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);