mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Fix cli fetch-config
This commit is contained in:
parent
bdca325aaf
commit
0727b08818
1 changed files with 1 additions and 0 deletions
|
|
@ -678,6 +678,7 @@ void App::createCommandParser() {
|
|||
// Should be call only at first start
|
||||
void App::sendCommand() {
|
||||
auto arguments = mParser->positionalArguments();
|
||||
if (mParser->isSet("fetch-config")) arguments << "fetch-config=" + mParser->value("fetch-config");
|
||||
static bool firstStart = true; // We can't erase positional arguments. So we get them on each restart.
|
||||
if (firstStart && arguments.size() > 0) {
|
||||
firstStart = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue