aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_import.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-17 15:38:39 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-17 15:38:39 -0800
commit4313d8f398e12093b866fa8029b712c86f1bc127 (patch)
tree4bac972e0054e4329ecc32d0bad6b79cc8ca8bd9 /toolsrc/src/commands_import.cpp
parent02eeb834b1b62957191f3ff8b318af0837e3fd96 (diff)
downloadvcpkg-4313d8f398e12093b866fa8029b712c86f1bc127.tar.gz
vcpkg-4313d8f398e12093b866fa8029b712c86f1bc127.zip
`owns`: check for --options
Diffstat (limited to 'toolsrc/src/commands_import.cpp')
-rw-r--r--toolsrc/src/commands_import.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/src/commands_import.cpp b/toolsrc/src/commands_import.cpp
index 7af2c7185..4b71fc290 100644
--- a/toolsrc/src/commands_import.cpp
+++ b/toolsrc/src/commands_import.cpp
@@ -79,6 +79,7 @@ namespace vcpkg::Commands::Import
{
static const std::string example = Commands::Help::create_example_string(R"(import C:\path\to\CONTROLfile C:\path\to\includedir C:\path\to\projectdir)");
args.check_exact_arg_count(3, example);
+ args.check_and_get_optional_command_arguments({});
const fs::path control_file_path(args.command_arguments[0]);
const fs::path include_directory(args.command_arguments[1]);