`contact`/`help`/`version`: Check for --options
MODIFY
src/commands_contact.cpp
src/commands_contact.cpp
@@ -8,6 +8,8 @@ namespace vcpkg::Commands::Contact
void perform_and_exit(const vcpkg_cmd_arguments& args)
{
args.check_exact_arg_count(0);
+ args.check_and_get_optional_command_arguments({});
+
System::println("Send an email to %s with any feedback.", Info::email());
exit(EXIT_SUCCESS);
}

MODIFY
src/commands_help.cpp
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();

MODIFY
src/commands_version.cpp
src/commands_version.cpp
@@ -8,6 +8,8 @@ namespace vcpkg::Commands::Version
void perform_and_exit(const vcpkg_cmd_arguments& args)
{
args.check_exact_arg_count(0);
+ args.check_and_get_optional_command_arguments({});
+
System::println("Vcpkg package management program version %s\n"
"\n"
"See LICENSE.txt for license information.", Info::version()

`contact`/`help`/`version`: Check for --options