diff options
-rw-r--r-- | akonadi2_cli/syntax_modules/core_syntax.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/akonadi2_cli/syntax_modules/core_syntax.cpp b/akonadi2_cli/syntax_modules/core_syntax.cpp index ca5ac4c..393a0a5 100644 --- a/akonadi2_cli/syntax_modules/core_syntax.cpp +++ b/akonadi2_cli/syntax_modules/core_syntax.cpp | |||
@@ -100,7 +100,8 @@ QStringList showHelpCompleter(const QStringList &commands, const QString &fragme | |||
100 | QStringList items; | 100 | QStringList items; |
101 | 101 | ||
102 | for (auto syntax: SyntaxTree::self()->syntax()) { | 102 | for (auto syntax: SyntaxTree::self()->syntax()) { |
103 | if (fragment.isEmpty() || syntax.keyword.startsWith(fragment)) { | 103 | if (syntax.keyword != QObject::tr("help") && |
104 | (fragment.isEmpty() || syntax.keyword.startsWith(fragment))) { | ||
104 | items << syntax.keyword; | 105 | items << syntax.keyword; |
105 | } | 106 | } |
106 | } | 107 | } |