0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00

In cli.cpp, fixed regression where command line arg

parser wasn't aligning correctly on the argv array.
This commit is contained in:
James Yonan 2015-12-11 12:11:25 -07:00
parent 49ac3f0285
commit 1219720d26

View File

@ -306,7 +306,7 @@ int openvpn_client(int argc, char *argv[], const std::string* profile_content)
bool dco = false;
int ch;
optind = 0;
optind = 1;
while ((ch = getopt_long(argc, argv, "BAdeTCxfgjmvu:p:r:D:P:s:t:c:z:M:h:q:U:W:I:k:", longopts, nullptr)) != -1)
{
switch (ch)