MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / parseDisconnect

Method parseDisconnect

src/windscribe-cli/cliarguments.cpp:101–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void CliArguments::parseDisconnect(const QStringList &args)
102{
103 cliCommand_ = CLI_COMMAND_DISCONNECT;
104 if (args.length() <= 2) {
105 return;
106 }
107
108 int idx = 2;
109 QString arg = args[idx].toLower();
110 if (getOptions(arg) == "n") {
111 nonBlocking_ = true;
112 }
113}
114
115void CliArguments::parseFirewall(const QStringList &args)
116{

Callers

nothing calls this directly

Calls 1

getOptionsFunction · 0.85

Tested by

no test coverage detected