Show build id in --galaxy-show-builds output

This commit is contained in:
Sude 2023-05-30 17:09:39 +03:00
parent 417570cd1e
commit b55489435f

View File

@ -4398,7 +4398,10 @@ void Downloader::galaxyShowBuildsById(const std::string& product_id, int build_i
{
for (unsigned int i = 0; i < json["items"].size(); ++i)
{
std::cout << i << ": " << "Version " << json["items"][i]["version_name"].asString() << " - " << json["items"][i]["date_published"].asString() << " (Gen " << json["items"][i]["generation"].asInt() << ")" << std::endl;
std::cout << i << ": " << "Version " << json["items"][i]["version_name"].asString()
<< " - " << json["items"][i]["date_published"].asString()
<< " (Gen " << json["items"][i]["generation"].asInt() << ")"
<< " (Build id: " << json["items"][i]["build_id"].asString() << ")" << std::endl;
}
return;
}