diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_count.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_count.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/syntax_modules/sink_count.cpp b/sinksh/syntax_modules/sink_count.cpp index 9b6aa1e..04a9550 100644 --- a/sinksh/syntax_modules/sink_count.cpp +++ b/sinksh/syntax_modules/sink_count.cpp | |||
@@ -41,7 +41,7 @@ bool count(const QStringList &args, State &state) | |||
41 | { | 41 | { |
42 | Sink::Query query; | 42 | Sink::Query query; |
43 | query.setId("count"); | 43 | query.setId("count"); |
44 | if (!SinkshUtils::applyFilter(query, args)) { | 44 | if (!SinkshUtils::applyFilter(query, SyntaxTree::parseOptions(args))) { |
45 | state.printError(QObject::tr("Options: $type $filter")); | 45 | state.printError(QObject::tr("Options: $type $filter")); |
46 | return false; | 46 | return false; |
47 | } | 47 | } |