aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_help.cpp')
-rw-r--r--toolsrc/src/commands_help.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/src/commands_help.cpp b/toolsrc/src/commands_help.cpp
index 6068c22fb..49b5697c3 100644
--- a/toolsrc/src/commands_help.cpp
+++ b/toolsrc/src/commands_help.cpp
@@ -67,6 +67,8 @@ namespace vcpkg::Commands::Help
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths)
{
args.check_max_arg_count(1);
+ args.check_and_get_optional_command_arguments({});
+
if (args.command_arguments.empty())
{
print_usage();