cli: Ignore that version might be missing

This commit is contained in:
Martchus 2018-10-21 00:05:01 +02:00
parent 6bd2323a16
commit 7ba6afba74
2 changed files with 1 additions and 1 deletions

View File

@ -608,6 +608,7 @@ void Application::printStatus(const ArgumentOccurrence &)
printProperty("", displayNames(connectedDevices), nullptr, 6);
}
printProperty("Uptime", m_connection.uptime().toString(TimeSpanOutputFormat::WithMeasures, true));
// FIXME: the version might not be known at this time
printProperty("Version", m_connection.syncthingVersion());
cout << '\n';
}

View File

@ -5,7 +5,6 @@ Overall statistics
Incoming traffic 0 bytes
Outgoing traffic 0 bytes
Connected to no other devices
Version syncthing v.*
Directories
- test2