`portsdiff`: Check for --options
MODIFY
src/commands_portsdiff.cpp
src/commands_portsdiff.cpp
@@ -98,6 +98,7 @@ namespace vcpkg::Commands::PortsDiff
static const std::string example = Strings::format("The argument should be a branch/tag/hash to checkout.\n%s", Commands::Help::create_example_string("portsdiff mybranchname"));
args.check_min_arg_count(1, example);
args.check_max_arg_count(2, example);
+ args.check_and_get_optional_command_arguments({});
Environment::ensure_git_on_path(paths);
const std::wstring git_commit_id_for_previous_snapshot = Strings::utf8_to_utf16(args.command_arguments.at(0));

`portsdiff`: Check for --options