mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 15:43:06 +08:00
owns
: check for --options
This commit is contained in:
parent
02eeb834b1
commit
4313d8f398
@ -79,11 +79,6 @@ namespace vcpkg::Commands
|
||||
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
|
||||
}
|
||||
|
||||
namespace Import
|
||||
{
|
||||
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
|
||||
}
|
||||
|
||||
namespace Owns
|
||||
{
|
||||
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
|
||||
@ -94,6 +89,11 @@ namespace vcpkg::Commands
|
||||
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
|
||||
}
|
||||
|
||||
namespace Import
|
||||
{
|
||||
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
|
||||
}
|
||||
|
||||
namespace Integrate
|
||||
{
|
||||
extern const char*const INTEGRATE_COMMAND_HELPSTRING;
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user