Skip to content

Inconsistent use of 'uri' and 'url' in example/main.cpp #72

Description

@gitasmus

The --help option in line 25 lists --url as a possible argument

std::cout << "example --url <url> [--protocol <protocol>] [--method <method>] [--arguments <arguments>] [--output <output>]\n";

but the argument parsing in line 28 expects --uri

else if (arg == "--uri")

and complains "Missing argument for --url" in line 31

else throw std::runtime_error("Missing argument for --url");

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions