Added "version" element to JSON outputs of binaries, added version check in controller (ignores mismatched binaries now)
This commit is contained in:
parent
917ce2d452
commit
d0868d0f42
3 changed files with 15 additions and 5 deletions
|
@ -98,6 +98,7 @@ namespace Mist {
|
|||
Util::Config::streamName = streamName;
|
||||
|
||||
if (config->getBool("json")) {
|
||||
capa["version"] = PACKAGE_VERSION;
|
||||
std::cout << capa.toString() << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue