From e47f62aceae3a2478cb852d22fa8d7eb7412f117 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 17 Feb 2017 15:32:10 -0800 Subject: `update`: check for --options --- toolsrc/src/commands_update.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'toolsrc/src/commands_update.cpp') diff --git a/toolsrc/src/commands_update.cpp b/toolsrc/src/commands_update.cpp index a42ae5341..3aa7a499f 100644 --- a/toolsrc/src/commands_update.cpp +++ b/toolsrc/src/commands_update.cpp @@ -11,6 +11,7 @@ namespace vcpkg::Commands::Update void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths) { args.check_exact_arg_count(0); + args.check_and_get_optional_command_arguments({}); System::println("Using local portfile versions. To update the local portfiles, use `git pull`."); auto status_db = database_load_check(paths); -- cgit v1.2.3