Open gitasmus opened 8 months ago
The --help option in line 25 lists --url as a possible argument
--help
--url
std::cout << "example --url <url> [--protocol <protocol>] [--method <method>] [--arguments <arguments>] [--output <output>]\n";
but the argument parsing in line 28 expects --uri
--uri
else if (arg == "--uri")
and complains "Missing argument for --url" in line 31
else throw std::runtime_error("Missing argument for --url");
The
--help
option in line 25 lists--url
as a possible argumentbut the argument parsing in line 28 expects
--uri
and complains "Missing argument for --url" in line 31