blob: 3dd90e630088d43289fddd3f4c12c6b7176e463c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "pch.h"
#include "vcpkg_Commands.h"
#include "vcpkg_System.h"
#include "vcpkg_info.h"
namespace vcpkg::Commands::Version
{
void perform_and_exit(const vcpkg_cmd_arguments& args)
{
args.check_exact_arg_count(0);
args.check_and_get_optional_command_arguments({});
System::println("Vcpkg package management program version %s\n"
"\n"
"See LICENSE.txt for license information.", Info::version()
);
exit(EXIT_SUCCESS);
}
}
|