aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_update.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-17 15:32:10 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-17 15:32:10 -0800
commite47f62aceae3a2478cb852d22fa8d7eb7412f117 (patch)
tree07927f024d05e109348674ec3d0c4972759d5575 /toolsrc/src/commands_update.cpp
parent4cbd4e0cc8e315b65641a2a796b45f6af14c9c0b (diff)
downloadvcpkg-e47f62aceae3a2478cb852d22fa8d7eb7412f117.tar.gz
vcpkg-e47f62aceae3a2478cb852d22fa8d7eb7412f117.zip
`update`: check for --options
Diffstat (limited to 'toolsrc/src/commands_update.cpp')
-rw-r--r--toolsrc/src/commands_update.cpp1
1 files changed, 1 insertions, 0 deletions
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);