summaryrefslogtreecommitdiff
path: root/source/Commands/CommandObjectPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Commands/CommandObjectPlugin.cpp')
-rw-r--r--source/Commands/CommandObjectPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Commands/CommandObjectPlugin.cpp b/source/Commands/CommandObjectPlugin.cpp
index 1f379a2660ed..13ef6b227c5b 100644
--- a/source/Commands/CommandObjectPlugin.cpp
+++ b/source/Commands/CommandObjectPlugin.cpp
@@ -48,7 +48,7 @@ public:
CommandCompletions::InvokeCommonCompletionCallbacks(
GetCommandInterpreter(), CommandCompletions::eDiskFileCompletion,
request, nullptr);
- return request.GetMatches().GetSize();
+ return request.GetNumberOfMatches();
}
protected: