rasctl -s display block size

This commit is contained in:
Uwe Seimet 2021-08-24 12:31:39 +02:00
parent 6d7e186b94
commit e254bc2b9c

View File

@ -229,8 +229,11 @@ void CommandServerInfo(const string& hostname, int port)
const PbDevice& device = *it;
cout << " " << device.id() << ":" << device.unit() << " " << PbDeviceType_Name(device.type())
<< " " << device.vendor() << ":" << device.product() << ":" << device.revision()
<< (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
<< " " << device.vendor() << ":" << device.product() << ":" << device.revision();
if (device.block_size()) {
cout << " " << device.block_size() << " BPS";
}
cout << (device.file().name().empty() ? "" : " " + device.file().name()) << endl;
}
}
}