You can quickly get the args into a vector like this:
auto args = std::vector<std::string_view>(argv, argv + argc);
Checking equality etc directly instead of using strcmp stuff is better. There are libraries available for handling command line args too.