chore: give all args to arg parser instead of omitting arg0

This commit is contained in:
Jan
2024-09-23 22:38:18 +02:00
parent 2b1c048a4a
commit 32480a75eb
7 changed files with 12 additions and 6 deletions

View File

@ -245,7 +245,7 @@ std::set<std::string> LinkerArgs::GetSearchPathsForProject(const std::set<std::s
bool LinkerArgs::ParseArgs(const int argc, const char** argv, bool& shouldContinue)
{
shouldContinue = true;
if (!m_argument_parser.ParseArguments(argc - 1, &argv[1]))
if (!m_argument_parser.ParseArguments(argc, argv))
{
PrintUsage();
return false;